Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This would be announced by the screen reader as "Learn more Mayor Breed's 2023 Budget Proposal".

Best practice is to try and provide descriptive link/button labels by default. However, in situations when this is not possible this technique can be used.

Use aria-label

The aria-label attribute could also be used when applicable.

...

The speech to input user will not know what the aria-label is as it is not visible to them. However if the aria-label starts out with the default button label, "Learn more about London Breed", the speech recognition software will be able to recognize that button label.

Best Practice

Best practice is to try and provide descriptive link/button labels by default. However, in situations when this is not possible these techniques can be used.