accessibility-developer-tools icon indicating copy to clipboard operation
accessibility-developer-tools copied to clipboard

aria-required=true reported as invalid on input type=number

Open stevefaulkner opened this issue 7 years ago • 3 comments

the following http://codepen.io/stevef/pen/BpQdwj produces an error

[Severe] This element has an unsupported ARIA attribute (1) See AX_ARIA_10 for more information. <input type=​"number" id=​"amount" aria-required=​"true" required>​

It is allowed https://www.w3.org/TR/html-aria/#attr-required , but not allowed to be false if required is presenete

stevefaulkner avatar Jan 17 '17 16:01 stevefaulkner

Seconded. Please ask if I can help.

KittyGiraudel avatar Jan 17 '17 16:01 KittyGiraudel

Also seems to be incorrectly reported when used on a checkbox input.

KittyGiraudel avatar Jan 17 '17 16:01 KittyGiraudel

Yes, seeing this as well with:

<input class="numeric integer required" required="required" aria-required="true" type="number" step="1" name="invoice[total_amount]" id="invoice_total_amount">

EmilyMB avatar Aug 01 '17 18:08 EmilyMB