-
Notifications
You must be signed in to change notification settings - Fork 272
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
Button: does not show the arial-label correctly to nvda screen reader when icon is full-screen #3699
Comments
Hey @gurkirpalgill, |
It's not a typo, I tried to use accessibleName instead of aria-label, but then typescript gives this error: |
what Marcus meant is that you wrote arial-label with an "l" instead of For the issue itself, I'll forward it to the UI5 Web Components repo, since the affected component is developed by our colleagues there. |
my mistake, that's a typo. issue still exists when using nvda screen reader. screen reader is reading the same text twice. another example, when the focus is on ">" icon of flexible column layout and Enter key is pressed Please downport "accessibleName" as additional non breaking option to be consistent with the documentation. |
Hello @gurkirpalgill, Could you please edit the following snipped: Best Regards, |
@unazko https://codesandbox.io/s/adoring-faraday-5zlkp As you can see in the screenshot below, the issue is reproducible. |
Hi @SAP/ui5-webcomponents-topic-b Kind regards, |
any updates on this? |
hi, our release is due October 1st, do you have any updates on this issue? Thanks! |
Hello @Neeeko and @SAP/ui5-webcomponents-topic-p colleagues, According to the specification the icon only button should have a tooltip and an aria-label and they both will get announced. In the described case they have the same texts and double announcement appears when NVDA is used. JAWS pronounces the aria-label text only as the tooltip has the same text. A possible workaround for the ui5-flexible-column-layout component is to remove the aria-label attribute from the expand/collapse button: Best Regards, |
Hi @gurkirpalgill, Could you check if the issue persist in newer version where accessible-name property is introduced? Regards, |
Hello @nnaydenow, I forgot to mention that this issue isn't reproducible in the newer versions of the project. Best Regards, |
Hi @unazko , Even if I change the attribute (will link PR soon) the tooltip is read too when I test the issue with NVDA. You can check this snippix: Seems like screen reader specific issue. @dobrinyonkov could you check this? Regards, |
Hi @nnaydenow, Yes, this is expected. That is why the suggested workaround from our team accessibility expert is to remove the aria-label attribute. Best Regards, |
Hi all, I would say that the suggested solution is the right thing to do. There shouldn't be Regards, |
We have recently merged a fix. |
@ilhan007 when will it be released in successfactors versions? |
@gurkirpalgill it is released with 0.31.21 |
Describe the bug
When Button is used with icon value set to full-screen, nvda screen reader two different texts:
Enter Full Screen graphic clickable button Expand Onboarding Details Screen
Instead of Full Screen above it should be Expand Onboarding Details Screen as it is for other icon values.
Isolated Example
Screenshots
![Screen Shot 2021-08-18 at 5 01 26 PM](https://user-images.githubusercontent.com/65705637/129989218-4f323b24-59ac-47fa-bd9a-70f98f073251.png)
UI5 Web Components for React Information
@ui5/webcomponents
version:~0.31.9@ui5/webcomponents-react
version: ^0.131.9Operating System: Windows 10
Browser: Chrome
Additional context
nvda screen reader is used
The text was updated successfully, but these errors were encountered: