Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

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

Open
stevefaulkner opened this issue Jan 17, 2017 · 3 comments
Open

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

stevefaulkner opened this issue Jan 17, 2017 · 3 comments

Comments

@stevefaulkner
Copy link

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

@KittyGiraudel
Copy link

KittyGiraudel commented Jan 17, 2017

Seconded. Please ask if I can help.

@KittyGiraudel
Copy link

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

@EmilyMB
Copy link

EmilyMB commented Aug 1, 2017

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">

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants