Notice: This is a work in progress. Please submit feedback or suggestions.

button element (html)

Support level: supported

On this page

The button element represents a button labeled by its contents.

Expectations

Expectations are conditions that must be met for the feature to be considered as "supported". Only "MUST" expectations need to be met for minimal "support". "SHOULD" and "MAY" expectations indicates support that goes above and beyond. Note that there is not an explicit standard that dictates these expectations, and as such, they are likely opinionated. As such, a feature might not meet all "MUST" expectations but still be usable (potentially frustratingly so). Additionally, the assistive technology may provide many different commands to read, navigate, or otherwise interact with a feature. Only one command is required to pass for the expectation to be minimally supported.

Summary of support by expectation type

MUSTSHOULDMAY
supportedsupported

Summary of support by expectation and assistive technology

ExpectationDragon Naturally SpeakingJAWSNarratorNVDATalkBackVoiceOver for iOSVoiceOver for macOS
MUST convey the name of the buttonsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey the button rolesupportedsupportedsupportedsupportedsupportedsupportedsupported
SHOULD provide shortcuts to jump to buttonsnot applicablesupportedsupportedsupportedsupportedsupportedsupported

The screen reader MUST convey the name of the button

Rationale: A screen reader user needs to what the button does.

ATBrowserHas Support
Dragon Naturally SpeakingGoogle Chromesupported
JAWSGoogle Chromesupported
JAWSInternet Explorersupported
JAWSFirefox (desktop)supported
NarratorMicrosoft Edgesupported
NVDAGoogle Chromesupported
NVDAFirefox (desktop)supported
TalkBackGoogle Chrome (android)supported
VoiceOver for iOSSafari (iOS)supported
VoiceOver for macOSSafari (macOS)supported

This expectation is referenced by 1 tests.

Tests that reference this expectation
test namehas support
Basic HTML button testpartial (143/145)

The screen reader MUST convey the button role

Rationale: A screen reader user needs to know that the element performs an action.

ATBrowserHas Support
Dragon Naturally SpeakingGoogle Chromesupported
JAWSGoogle Chromesupported
JAWSInternet Explorersupported
JAWSFirefox (desktop)supported
NarratorMicrosoft Edgesupported
NVDAGoogle Chromesupported
NVDAFirefox (desktop)supported
TalkBackGoogle Chrome (android)supported
VoiceOver for iOSSafari (iOS)supported
VoiceOver for macOSSafari (macOS)supported

This expectation is referenced by 1 tests.

Tests that reference this expectation
test namehas support
Basic HTML button testpartial (143/145)

The screen reader SHOULD provide shortcuts to jump to buttons

Rationale: Screen reader users might want to quickly navigate to different buttons on the page.

ATBrowserHas Support
Dragon Naturally SpeakingGoogle Chromenot applicable
JAWSGoogle Chromesupported
JAWSInternet Explorersupported
JAWSFirefox (desktop)supported
NarratorMicrosoft Edgesupported
NVDAGoogle Chromesupported
NVDAFirefox (desktop)supported
TalkBackGoogle Chrome (android)supported
VoiceOver for iOSSafari (iOS)supported
VoiceOver for macOSSafari (macOS)supported

This expectation is referenced by 1 tests.

Tests that reference this expectation
test namehas support
Basic HTML button testpartial (143/145)