Skip to content

Commit

Permalink
chore: remove best practices
Browse files Browse the repository at this point in the history
  • Loading branch information
chpalac committed Oct 21, 2022
1 parent 0fba0cd commit 07ca176
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

- Use toolbar as a grouping element only if the group contains 3 or more controls. Refer to ['toolbar aria practices'](https://www.w3.org/TR/wai-aria-practices-1.2/#toolbar) for details.
- Label each toolbar when the application contains more than one toolbar (using `aria-label` or `aria-labelledby` props). Refer to [toolbar(role)](https://www.w3.org/WAI/PF/aria/roles#toolbar) for details.
- Use `active` prop on a ToolbarMenuItem if you want to have an active icon indicator displayed next to it.
- If `Toolbar` contains menu, the menu closes after clicking on one of the menu items. To prevent losing focus, move it manually in the `onClick` handler.
- If `Toolbar` contains multiple radio groups in the menu, consider using role="group" and `aria-label` for radio group shorthands

</details>

0 comments on commit 07ca176

Please sign in to comment.