ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[Select]: a11y collapsed Select does not have the role of collpased

Open AlexYanSap opened this issue 7 months ago • 1 comments

Bug Description

It's an incident from the customer that the collapsed select should have the role of the collapsed as recommended by the https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.

I noticed the SR did announce the collapsed state even though we have not set the role as recommended.

image

Affected Component

Select

Expected Behaviour

Ensure role should be button collapsed. image

Isolated Example

https://sap.github.io/ui5-webcomponents/components/Select/

Steps to Reproduce

  1. use Edge (123.0.2420.81 (Official build) (64-bit))
  2. focus on any of the select on the Isolated Example Page
  3. no collapsed role is set on the Select

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

1.24.1

Browser

Edge

Operating System

No response

Additional Context

I'm from SFSF

Organization

SAP SF

Declaration

  • [X] I’m not disclosing any internal or sensitive information.

AlexYanSap avatar Jun 28 '24 08:06 AlexYanSap