Accessibility Flashcards
What is tab order for elements that open in a new container?
tab to close button first and then to content
aria-labelledby
Points to the id of the element that provides the label of the current element
aria-label
provides a label for an element
aria-describedBy
Example: If you have a form field that requires additional instructions or explanations, you can use aria-describedby to point to an element with the relevant information.
aria-hidden
hides an element from screen readers
aria-disabled
indicates whether an element is interactive or not
aria-expanded
indicated when a collapsable element is open or closed
aria-selected
indicated when an element in a group is selected
aria-checked
indicates the current state of a checkbox or radio button
aria-controls
specifies the control elements of the current element
aria-live
determines what happens when the elements content changes. off, assertive (immediate), and polite
aria-atomic
determines whether the entire changed region should be announced (true) or only the changed area in the changed region is announced (false)
What is it called when ssing the right element for the right job. For example, making sure you use headings and paragraphs, and <button> and <a> elements</a></button>
good Semantics
what does ARIA stand for
Accessible Rich Internet Applications
aria-required
specifies when a form input needs to be valid