Accessibility in Blazor Floating Action Button component
4 Nov 20253 minutes to read
The Blazor Floating Action Button component follows accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.
The accessibility compliance for the Blazor Floating Action Button component is outlined below.
| Accessibility Criteria | Compatibility |
|---|---|
| WCAG 2.2 Support | ![]() |
| Section 508 Support | ![]() |
| Screen Reader Support | ![]() |
| Right-To-Left Support | ![]() |
| Color Contrast | ![]() |
| Mobile Device Support | ![]() |
| Keyboard Navigation Support | ![]() |
| Axe-core Accessibility Validation | ![]() |
- All features of the component meet the requirement.
- Some features of the component do not fully meet the requirement.
- The component does not meet the requirement.WAI-ARIA attributes
The Blazor Floating Action Button component follows the WAI-ARIA button pattern to meet accessibility requirements. The following ARIA attribute is used in the Blazor Floating Action Button component:
| Attributes | Purpose |
|---|---|
aria-label |
Provides an accessible name for an icon-only floating action button. |
Keyboard interaction
The Blazor Floating Action Button component follows the keyboard interaction guideline, making it accessible to people who use assistive technologies and those who rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor Floating Action Button component.
| Windows | Mac | Actions |
|---|---|---|
| Space | Space | When the floating action button has focus, activates the button (fires click). |
Ensuring accessibility
The Blazor Floating Action Button component’s accessibility levels are ensured through axe-core with Playwright tests.
The accessibility compliance of the Blazor Floating Action Button component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Blazor Floating Action Button component with accessibility tools.
