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

Accessibility issues #2280

Open
vipchristian opened this issue Jul 25, 2024 · 1 comment
Open

Accessibility issues #2280

vipchristian opened this issue Jul 25, 2024 · 1 comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product.

Comments

@vipchristian
Copy link

Description

Some HTML codes fail Chrome's accessibility test. This will be mandatory by law (BFSG) in Germany from 2025.
For example:
/wp-content/plugins/otter-blocks/build/blocks/slider.js
The arrows on the slide have no aria-label="name”

Other blocks such as Accordeon also have accessibility problems.

Thx guys!

Step-by-step reproduction instructions

Go to https://demo.themeisle.com/otter-blocks/slider/
Chrome -> Inspect -> Lighthouse:
Device: Desktop
Categories: Accessibility

Result: "Buttons do not have an accessible name"

Screenshots, screen recording, code snippet or Help Scout ticket

No response

Environment info

No response

Is the issue you are reporting a regression

No

@vipchristian vipchristian added the bug This label could be used to identify issues that are caused by a defect in the product. label Jul 25, 2024
@Captain-Arnab
Copy link

After thoroughly studying the bug I came to an conclusion that it needs to be fixed in slider.js by replacing

original code :
<button class="glide__arrow glide__arrow--right" data-glide-dir="&gt;">

New code :
<button class="glide__arrow glide__arrow--right" data-glide-dir="&gt;" aria-label="Next Slide">

Same as for left button

I hope it will work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product.
Projects
None yet
Development

No branches or pull requests

2 participants