Accessibility
- The element with the
toolbarrole holds the items and is named byariaLabel; a vertical toolbar setsaria-orientation="vertical". The FAB is beside it, outside the toolbar. - The toolbar is one tab stop. The arrow keys move along it (Left and Right follow the reading direction; Up and Down when vertical), Home and End go to the ends, and disabled items are skipped. Tab leaves it, and coming back lands on the item focused last.
- In a text field inside the toolbar, the arrow keys, Home and End stay with the caret.
- Off screen (
hide(), orscrollBehavior: 'exit'), the toolbar and its FAB areinert. - Collapsed (
scrollBehavior: 'collapse', docked only), the toolbar stays on screen and is notinert: items keep their focus order and 48dp target areas, and an icon+label button's label is visually hidden rather than removed so its accessible name is preserved.