Skip to content
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

Checkboxes are not user friendly for Dragon Naturally Speaking users #2303

Open
kimviens opened this issue Dec 14, 2023 · 1 comment
Open

Comments

@kimviens
Copy link

Hello!

This issue was first observed on the Accessibility Feedback Form.

The problem:

Dragon is unable to show the numbers on the checkboxes when the user says "show links" or "click checkbox". See screenshot below for an example where it works correctly:
Screenshot of correct checkboxes

Now, see screenshot of the Accessibility Feedback Form below to see how the checkboxes are not listed when the Dragon user says the "show links" or "click checkbox" command:
Screenshot of bad checkboxes

Details:

The root of the issue might be the CSS. And the ::before content.

It looks like the checkboxes are made using a symbol inserted using ::before and that the real checkboxes are hidden by using the following styling in theme.min.css:
.gc-chckbxrdio input[type=checkbox], .gc-chckbxrdio input[type=radio] {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}

When I deleted the ::before element that appears in the label of the element and when I disabled the CSS mentioned above. Dragon recognizes the real checkboxes and the commands "show links" and "click checkbox" both work.

Screenshot showing that Dragon recognizes the real checkboxes:
Screenshot of the Accessibility Feedback Form where I removed the fake checkbox to show the real checkbox and Dragon now recognizes them

@Christopher-O
Copy link
Contributor

Christopher-O commented Dec 18, 2023

In testing we have found similar issues with the radio buttons with Voice Control (for OSX/iOS), but it seems to be hit or miss. I wonder if since the size of the checkbox is set to a width of 1px, that it's difficult for the program to target the "hidden" checkbox. Since there is no need to hide the checkbox in terms of the space (like you would with invisible text meant only for screen readers) since the pseudo checkboxes are larger, I'm curious if replacing those CSS styles with opacity: 0 might be more suitable. Just a thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants