Skip to content

Make status and confidentiality text sr-only instead of hidden

Coung Ngo requested to merge cngo-sr-only-status-confidentiality-text into master

What does this MR do and why?

Make status and confidentiality text sr-only instead of hidden

The status and confidentiality text is hidden in issuables and work items in small screens. For visual users, this is okay as they can understand status and confidentiality from their icons. However, these icons are hidden from screenreaders so we should continue communicating the text to screenreaders in small screens.

Also update the dropdown placement attributes to non-deprecated values.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

work item task issuable test case
Screen_Recording_2024-07-03_at_5.45.13_PM Screen_Recording_2024-07-03_at_5.26.38_PM

How to set up and validate locally

  1. Visit any issue
  2. Create a task from the Child Items widget
  3. Open the task
  4. Make the task confidential and test changing the screen size
Edited by Coung Ngo

Merge request reports