-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[a11y] We don't mark the disabled objects as disabled #7322
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
Milestone
Comments
charlesh88
added a commit
that referenced
this issue
Jan 4, 2024
charlesh88
added a commit
that referenced
this issue
Jan 4, 2024
- New CSS for `aria-disabled = true` property. - Changed multiple items to use aria-disabled instead of .disabled, including: - Action menu - Super menu - Notebook drag area - Tree item style modded to only italicize when is-navigated and is being edited. - Create button sets itself to `disabled` when the editor is in use.
charlesh88
added a commit
that referenced
this issue
Jan 4, 2024
15 tasks
unlikelyzero
added a commit
that referenced
this issue
Jan 26, 2024
* Closes #7322 - New CSS for `aria-disabled = true` property. - Changed multiple items to use aria-disabled instead of .disabled, including: - Action menu - Super menu - Notebook drag area - Tree item style modded to only italicize when is-navigated and is being edited. * Closes #7322 - New CSS for `aria-disabled = true` property. - Changed multiple items to use aria-disabled instead of .disabled, including: - Action menu - Super menu - Notebook drag area - Tree item style modded to only italicize when is-navigated and is being edited. - Create button sets itself to `disabled` when the editor is in use. * Closes #7322 - Create button now _actually_ sets itself to `aria-disabled` when the editor is in use. - CSS removes selector for `.is-editing`. * fix conflict --------- Co-authored-by: John Hill <[email protected]>
Verified Fixed in Testathon 1/31/24 |
Verified Testathon 2/1/24. |
Verified Testathon 2/5/2024 Clicking on disabled menu items still closes the menu, though. We should change that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The a11y tests picked up that we're not marking disabled objects with the html semantic for disabled. We're just marking as !important .
According to https://sean-elliott.medium.com/a11y-tips-disabled-buttons-and-colour-contrast-f8824d5e9610, the a11y tooling will detect when an element is disabled and ignore color contrast violations. So this should be as simple as marking disabled objects as disabled with html semantics.
Known offenders:
Environment
Impact Check List
Additional Information
The text was updated successfully, but these errors were encountered: