-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Settings - General Page - Accessibility Issues #5726
Comments
@niels9001, I've been looking into the tab related accessibility issue for the settings page. The expected behavior for a group of radio buttons is to tab into the selected item and then use the arrow keys for up and down navigation as shown in the gif below. However, with the powerToys settings page, I'm able to tab into the group of radio buttons but not navigate using arrow keys as shown above. The arrow navigation is built in by default into the radiobuttons control. Do you have any idea as to why this might be happening? I tried setting TabNavigation properties as well as XYFocusKeyboardNavigation but that did not seem to work. Adding @laviusmotileng-ms. |
@alekhyareddy28 Hmm, no idea - is that a XAML Island bug as well? What we could do, is simply replace the theme selection radiobutton group with a ComboBox. It would save us some space as well. |
update: @niels9001, it seems like a xaml island bug. I created a simple xaml island project with just a radiobuttons control with three radio button controls and the keyboard navigation does not work as expected. However, the following code works in a standalone uwp app.
@crutkas suggested to create a new issue for xaml island related bugs instead of modifying the ui as they would be fixed in a few months time once we transition to winui 3. |
We should file a bug against the WinUI repository and link to this bug. Lets create a new issue for us for WinUI 3 upgrade for settings as well and reference this as well |
Update: When i was trying to fix one of the screen reader issues when the title of the radio buttons was not being read (ie. the screen reader was only reading 'Dark' and not After: Key navigation works as expected and even the heading |
Created an issue in the winui repo: RadioButtons control does not support keyboard navigation in XAML islands microsoft/microsoft-ui-xaml#3156 #6032 is the tracking issue for accessibility issues related to xaml islands. |
update: The contrast related issues are off the threshold by a very small value 0.002. We are using the system brushes so there is little for us to do there. The rest of the issues are fixed in the above PR. |
π Provide detailed reproduction steps (if any)
Run Windows Accessibility Insights on PowerToys Settings General Page.
βοΈ Expected result
β Actual result
Code/Property Related tests
Two of the automated check fail.
Link to Accessibility insights file - https://microsoft.sharepoint.com/:u:/t/Notes145/EfgNE--B2_pKlPmBuNFlvk8B-55nQZm6CKxy77I1QhW7Dw?e=dzPtdJ.
Tabbing tests
On comparing and contrasting this with the windows tabbing setting, the following issues are identified -
The following gif shows how windows handles tabbing.
Screen Reader
Settings theme
, when we have the Dark radio button on focus, the Settings theme text is not read which makes it difficult to understand the complete functionality of the radio button.v0.20.1
but does not say the word version.Contrast issues
These items do not meet the contrast threshold standard while testing using Accessibility insights -
The text was updated successfully, but these errors were encountered: