New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 3 users
Status: Fixed
Owner: ----
Closed: Jan 2015
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug

Sign in to add a comment
HTML controls do not expose invalid state in acc layer
Project Member Reported by, Jun 15 2014 Back to list
Version: <35>
OS: <windows 8.1>

HTML5 requires that an element with a required attribute 
that is a candidate for constraint validation but does not satisfy its constraints is exposed in browsers with the platform dependent equivalent of aria-invalid=true. This maps to  IA2_STATE_INVALID_ENTRY in IAccessible2. Currently the input element with a required attribute does not expose this state or equivalent (unlike FF and IE)

HTML5 WAI-ARIA section
WAI-ARIA implementation guide property mapping table:
HTML5 required attribute definition

What is the expected behavior?  

Element with a required attribute and is Suffering from being missing has an IAccessible2 state of  IA2_STATE_INVALID_ENTRY

"Suffering from being missing"

Steps to reproduce

open check the IA2 state of the elements using an object inspection tool (aViewer for example:  
"When the user attempts to submit data involving a field for which aria-required is true, authors may use the aria-invalid attribute to signal there is an error. However, if the user has not attempted to submit the form, authors should not set the aria-invalid attribute on required widgets simply because the user has not yet entered data."

As I am able to refer fromt the spec that setting aria-invalid in this scenario depends on the Author... not upon the User Agent.
Hi @Shreeram,

the ARIA requirements and the HTML implementation requirements are separate things.
by default <input type=text required> has both an invalid and required state, until the the required data has been provided.

<input type=text aria-required=true>
<div role=textbox aria-required=true>  which only has a required state and will remain in the required state until aria-required=false is set.
Project Member Comment 4 by, Jan 13 2015
The following revision refers to this bug:

commit 4752162c54a5d5d36bbbb290e127a6b29c2a6e87
Author: nektar <>
Date: Tue Jan 13 17:50:25 2015

Exposed the invalid state of form controls to the accessibility APIs.

BUG= 384834 

Review URL:

Cr-Commit-Position: refs/heads/master@{#311287}


Status: Fixed
Sign in to add a comment