<aside> đź’ˇ

Study Tasks

Resources

W3 Accessible Name and Description Computation 1.2 (link)

  1. The aria-describedby property is used if present.
  2. If the description is still empty, then host-language-specific attributes or elements are used if present, if it wasn't already used as the accessible name. For HTML, these are, depending on the element:
    1. area > alt
    2. fieldset > legend
    3. Form elements > label
    4. figure > figcaption
    5. table > caption
    6. button > value
  3. Finally, if the description is still empty, then other host-language-specific attributes or elements are used if present, if it wasn't already used for the accessible name. For HTML, this is the title attribute.

5 Rules for using aria:

  1. Use native HTML when possible
  2. Don’t change native semantics (unless necessary)
  3. Must be keyboard accessible
  4. Do not use role=”presentation” or aria-hidden=”true” on focusable elements
  5. All interactive elements must have an accessible name

Keyboard interactions model for ARIA custom widgets