-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for calculating the accessible label and the accessible r…
…ole of elements Fixes #1439
- Loading branch information
1 parent
3216584
commit 7ea9483
Showing
1 changed file
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit 7ea9483
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.
Note: Most implementations would spin up accessibility the first time either of these is called. Note that there is a non-zero perf cost to running the Accessibility underpinnings in any implementation... So: 1. Implementations should be careful to avoid loading this before it is needed, and 2. Benchmark test developers should be made aware of the perf cost of these... For example, a performance reduction may be persistent in later in the test anytime after one of these has been called.
I think this should be "accessibility role" b/c it is not limited to WAI-ARIA defined roles... Even once ARIA 1.2 is finished for HTML Parity, there are reserved roles like MathML elements, and native ones that can't be "faked" with ARIA yet, such as the