This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26416 - use of aria-required contradicts the ARIA spec
Summary: use of aria-required contradicts the ARIA spec
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Using ARIA in HTML (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-23 11:39 UTC by Rick Brown
Modified: 2014-07-23 11:39 UTC (History)
2 users (show)

See Also:


Attachments

Description Rick Brown 2014-07-23 11:39:49 UTC
'Using WAI-ARIA in HTML' says:

"Use the aria-required attribute on any element that is allowed the required attribute in HTML5."

The ARIA Spec says:

"Unless an exactly equivalent native attribute is available, host languages SHOULD allow authors to use the aria-required attribute on host language form elements that require input or selection by the user."

These contradict each other. For example using aria-required on an HTML input element is:

- not allowed by the ARIA spec (because an exactly equivalent native attribute is available)
- good practice according to 'Using WAI-ARIA in HTML' (because input is allowed the required attribute in HTML5).