ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

FormWidget: set disabled/required properties on focusNode if focusNode is custom element with disabled/required props #478

Closed wkeese closed 7 years ago

wkeese commented 7 years ago

If FormWidget#focusNode is a custom element, and that custom element has a disabled property, then FormWidget should set the disabled property on that custom element rather than setting the aria-disabled attribute.

Likewise for required vs. aria-required.