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

required attribute (html)

Support level: partial (8/10)

On this page

The required attribute is a boolean attribute. When specified, the element is required.

Expectations

What are expectations?

Summary of support by expectation and assistive technology

ExpectationDragon Naturally SpeakingJAWSNarratorNVDATalkBackVoiceOver for iOSVoiceOver for macOSOrca
MUST convey the propertynot applicablesupportedsupportedsupportednonesupportedsupportednone
MAY convey the invalid state when emptynot applicablepartial (2/3)supportedsupportednonenonenonenone

The screen reader MUST convey the property

Rationale: The user needs to know that input is required

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

This expectation is referenced by 1 tests.

Tests that reference this expectation
test namehas support
The html required attribute on each HTML radio button in a fieldsetpartial (93/102)

The screen reader MAY convey the invalid state when empty

Rationale: The user might want to confirm that the input is invalid when empty

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

This expectation is referenced by 1 tests.

Tests that reference this expectation
test namehas support
The html required attribute on each HTML radio button in a fieldsetpartial (93/102)