-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
[Accessibility] NVDA screen reader not announcing the selected / not selected state for the 'Fonts' and 'Size' controls present in the CKEditor5 toolbar . #13250
Comments
Notes from my discussion with @oleq (his replies)
You're right. They are static.
Correct. Tiny and CKE5 work in the same way here.
Correct. CKE4 is the best of the three in this aspect. It announces values correctly.
I browsed #638 and #2277 and it probably comes down to:
which is a trade-off that totally makes sense: three dropdowns in the same row would extremely bloat our toolbars. Too much horizontal space would be wasted. There's a silver lining, though: I don't see a good reason not to implement it the "CKE4 way" in CKE5. We can preserve "Font Size" tooltip and have the aria-label saying "Font size, [value of the command]" just like in CKE4. The improvement is rather cheap and it comes down to a few lines of code. We could use the same code for font/bg color and font family/size features.
|
I like it 💎 @msftedad would that resolve this issue for you? |
As per the above screen shot, voice over is announcing as expected after selecting the menu list. When we verify in windows combination of JAWS and NVDA in CKE4 & CKE5, after selecting the font style in menu list, both NVDA and JAWS is not announcing the selected state with role. |
I researched this issue and here's what I found out:
The PoC of all the above is in https://github.com/ckeditor/ckeditor5/compare/ci/13250-dropdown-selecte-item-poc?expand=1. |
@oleq thanks, agree with this approach. FYI NVDA considers aria-selected as by design (nvaccess/nvda#12893) and this is a known issue in JAWS. |
…ed-state-for-dropdowns-v3 Fix (font, heading): Screen readers should now announce the selected option in dropdown lists for font size, font family, and heading features. Closes #13250.
📝 Provide detailed reproduction steps (if any)
✔️ Expected result
NVDA should announce whether a font or size is selected or not selected as the user navigates
❌ Actual result
NVDA does not report which item is selected or not selected
❓ Possible solution
https://developer.mozilla.org/en-US/docs/Web/API/Element/ariaSelected
📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: