This should apply to Paper Input (including textarea={{true}}, Paper Autocomplete, Ember Select
Ideally Paper Radio Paper Switch and Paper Checkbox as well, but it seems some of that work is a work-in-progress https://github.com/miguelcobain/ember-paper/pull/692
For now, a workaround can be done by doing the following:
Elements such as
<PaperInput required={{true}} />
output html that shows validation messages and the label has a class of.md-required
, but these do little for accessibility. Any form element that is required should pass through arequired
oraria-required="true"
attribute into the element itself for A11y tools to be able to read. https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-required_attributeThis should apply to Paper Input (including
textarea={{true}}
, Paper Autocomplete, Ember Select Ideally Paper Radio Paper Switch and Paper Checkbox as well, but it seems some of that work is a work-in-progress https://github.com/miguelcobain/ember-paper/pull/692For now, a workaround can be done by doing the following: