web-components icon indicating copy to clipboard operation
web-components copied to clipboard

vaadin-select-value-button & aria-required

Open anezthes opened this issue 1 year ago • 1 comments

Semantics issue.

<vaadin-select-value-button aria-required="true" role="button" ... >

The aria-required attribute is not meant for buttons. See aria-required - Accessibility | MDN.

anezthes avatar Apr 16 '24 07:04 anezthes

Thanks for the issue. The attribute is set by FieldAriaController, which probably needs to be updated to check for role.

web-padawan avatar Apr 16 '24 07:04 web-padawan