Skip to content

Commit

Permalink
Updated Accessibility Guidelines (markdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorn committed Apr 3, 2023
1 parent 7522b2c commit d2f6d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Accessibility-Guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Every actionable element in your component needs to be keyboard navigable, or th

### Aria labels

When an element gets focus, a screen reader will read something if the element has an `aria-label` or a `title` attribute set. When in doubt, set an informative `aria-label` attribute on the element that gets focus. `aria-label` should be informative but concise. Always make sure to put the most important information to the front of the `aria-label` so if users skip the announcement they first hear the important stuff.
When an element gets focus, a screen reader will read something if the element has an `aria-label` attribute set. Set an informative `aria-label` attribute on the element that gets focus. `aria-label` should be informative but concise. Always make sure to put the most important information to the front of the `aria-label` so if users skip the announcement they first hear the important stuff. When there are multiple things to express in the aria label `,` separate them. For example, here's an aria label of one Breakpoint: `main.js 12, ~/Development/vscode/src/main.js`. First the most important information: filename and line number, and then comma separated additional details.

### Aria alerts

Expand Down

0 comments on commit d2f6d27

Please sign in to comment.