-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Hide Ace content from assistive technologies to improve a11y #5160
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #5160 +/- ##
==========================================
+ Coverage 86.92% 86.93% +0.01%
==========================================
Files 561 561
Lines 44912 44935 +23
Branches 6907 6909 +2
==========================================
+ Hits 39039 39066 +27
+ Misses 5873 5869 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
src/keyboard/textinput.js
Outdated
if(host.session && host.renderer.enableKeyboardAccessibility) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't look in line with the code style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah whoops, you're right. Fixed in new commit
Issue #2164
Some screen reader/browser configurations read the entire visible part of the document when entering Ace. This aims to improve the screen reader experience by hiding the
ace_content
div from assistive technologies when a11y mode is enabled.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.