Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rating indicator]: Read only state not announced by screen readers #10024

Open
1 task done
PlutaKatarzyna opened this issue Oct 15, 2024 · 1 comment
Open
1 task done
Labels
ACC bug This issue is a bug in the code SAP UDEx TOPIC RL

Comments

@PlutaKatarzyna
Copy link

PlutaKatarzyna commented Oct 15, 2024

Bug Description

When Rating indicator has "readonly" attribute, its state is not announced by screen readers.
Reading is the same as normal state: "4 of 7, Rating, rating indicator" .

Screen.Recording.2024-10-15.at.10.51.15.mov

In addition disabled states is read as "dimmed", can it read "disabled"?

Affected Component

ui5-rating-indicator

Expected Behaviour

When accessing component in read only mode, it's state should be announced by screen reader.
For example, reading should announce "4 of 7, Rating, Read only, rating indicator"

Isolated Example

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

Steps to Reproduce

  1. Open UI5 Rating Indicator documentation
  2. Open a Screen Reader
  3. Navigate to Read Only rating indicator
  4. Screen reader doesn't read "read only" state

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

1.24.8, 2.3.0

Browser

Chrome

Operating System

MacOS

Additional Context

UDEx components bug reported:

https://github.tools.sap/sapudex/digital-design-system/issues/940

Organization

SAP / UDEx components team

Declaration

  • I’m not disclosing any internal or sensitive information.
@PlutaKatarzyna PlutaKatarzyna added the bug This issue is a bug in the code label Oct 15, 2024
@PetyaMarkovaBogdanova
Copy link
Contributor

PetyaMarkovaBogdanova commented Oct 15, 2024

Hi colleagues from @SAP/ui5-webcomponents-topic-rl ,
indeed in openUI5 the reading of readonly state of Rating Indicator points "unavailable".
Maybe you should consider adding aria-disabled along with aria-readonly attribute.
Kind regards,
Petya Markova.
(UI5 Web Components Dispatcher)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACC bug This issue is a bug in the code SAP UDEx TOPIC RL
Projects
Status: New Issues
Development

No branches or pull requests

3 participants