Floating action buttons (FABs): Accessibility
Floating action buttons (FABs) help people take primary actions
Use cases
People should be able to do the following using assistive technology:
- Navigate to and activate the FAB
- Perform an action with the FAB
- Expand and minimize an extended FABExtended floating action buttons (extended FABs) help people take primary actions.More on extended FABs
Interaction & style
Don't disable the FAB. If the action represented in the FAB is unavailable, the FAB shouldn't appear.
Ensure the icon has a minimum 3:1 contrast ratio with the container.


Focus
Ensure the FAB is prioritized in the overall focus order to create an efficient experience for people who navigate UIs with assistive tech.
On mobile, the focus order may start with the app barApp bars contain page navigation and information at the top of a screenMore on app bars, move to the navigation barNavigation bars let people switch between UI views on smaller devices.More on navigation bars, and then skip past any other content on the page to land on the FAB.
Consider displaying a tooltip when the FAB is focused. This is supported on web.

Layout & position
To make it easier for users of screen readers to reach a primary action such as a FAB on expanded breakpointsWindow widths 840dp to 1199dp, such as a tablet or foldable in landscape orientation, or desktop.More on expanded breakpoints, consider placing the FAB in the upper left region.
However, it’s critical to test placement options with users to see if the upper left region is the best position in all browser windows. For compactWindow widths smaller than 600dp, such as a phone in portrait orientation.More on compact breakpoints and medium breakpointsWindow widths from 600dp to 839dp, such as a tablet or foldable in portrait orientation.More on medium breakpoints, the best place for the FAB is the lower right corner of a screen.


To ensure accessibility for keyboard users on the web, avoid positioning the FAB in a way that completely obscures the focus indicator of an actionable element.
It’s okay to partially cover the desired element, as long as the focus indicators are still visible.


Keyboard navigation
| Keys | Actions |
|---|---|
| Tab | Focus lands on the FAB |
| Space or Enter | Perform the default action on an item |
Labeling elements
The accessibility label should describe the action that the button is performing, such as Compose a new message.
