TextInputWidget (autosize; as of v0.17.9) contains two textarea elements within one label. In assistive technology that might result in loosing focus.
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T100219: Stop using simulateLabelClick when not necessary
Event Timeline
Comment Actions
This should get resolved along with T100219: Stop using simulateLabelClick when not necessary.
Comment Actions
The two textareas are an implementation detail. As the second one is (most of the time) hidden and therefore not focusable, I think this is unlikely to be a problem in practice.
Comment Actions
We should make sure, that not setting aria-disabled: true on one of the two isn't causing issues with assistive technology.
Also appending to the DOM later could be an option.
Comment Actions
I'm not exactly sure what has originally been the case here, but one of the inputs as of v0.29.6 is assigned oo-ui-element-hidden and aria-hidden=true, it doesn't get an id which is connected to the label – so it's definitely ignored by screen readers.