Braille ARIA attributes must have a non-braille equivalent

Last updated:

How to provide a non-braille equivalent?

Always pair aria-braillelabel with aria-label (or another accessible name technique) and pair aria-brailleroledescription with aria-roledescription.

BAD:

icon button with only a braille label and no standard accessible name

<button aria-braillelabel="***">
  <svg aria-hidden="true">...</svg>
</button>
CORRECT:

both a standard accessible name and a braille label

<button
  aria-label="3 out of 5 stars"
  aria-braillelabel="***"
>
  <svg aria-hidden="true">...</svg>
</button>
BAD:

braille role description without a standard role description

<div
  role="region"
  aria-brailleroledescription="sld"
>
  Slide content
</div>
CORRECT:

both role descriptions provided

<div
  role="region"
  aria-roledescription="slide"
  aria-brailleroledescription="sld"
  aria-label="Introduction"
>
  Slide content
</div>

The aria-braillelabel overrides the accessible name on braille displays. The aria-brailleroledescription overrides the role description on braille displays. Both must have a standard counterpart so users without a braille display receive the same information.

Only add a braille attribute when the standard value does not work well in braille, for example when it is too verbose or contains symbols that a braille display renders poorly. Do not use it to duplicate the accessible name or to shorten ordinary words: braille translation software already contracts those.

Why is this important?

aria-braillelabel and aria-brailleroledescription are intended only for braille displays. Users of other assistive technologies, screen readers, or speech recognition software rely on the standard aria-label and aria-roledescription attributes. Without these, those users receive no accessible name or role description.

More info:

WCAG 4.1.2 Name, Role, Value.

MDN: aria-braillelabel.

MDN: aria-brailleroledescription.

Rule info

Standard

WCAG A SC 4.1.2

Regulations

EN 301 549 EAA AODA

User impact

Fix complexity

Affects

Was this article helpful?

Checkout the ExcellentWebCheck services

ExcellentWebCheck's goal is to improve the online user experience. The tools of ExcellentWebCheck help to detect and improve usability problems on your website.