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: Download link with same name creates an accessibility issue if multiple pdf blocks are used in the same page #21

Open
rnunez80 opened this issue Oct 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rnunez80
Copy link

Link Text is the label for a link. The Link Text is also the content read by a screen reader for a link. All web visitors should be able to know where a link goes based solely on the Link Text without knowing the surrounding context of the link.

Impact: minor

Violations
WCAG 2.1 Level AAA: 2.4.9 Link Purpose (Link Only)

Element Location
.pdf-viewer-block:nth-child(3) > .mgrpdf__wrapper.pdf-wrapper > .pdf-toolbar.pdf-toolbar-top > div:nth-child(2) > a

Element Source

Failure Summary
The link text utilized for this link has been utilized for another link within the webpage that goes to a different URL. Users can update the Link Text within the link to be more specific. ARIA attributes, aria-label or aria-labelledby, can also be used to provide additional Link Text details.

Steps to recreate:
create a new page add multiple PDF blocks going to different files
run accessibility test (Dubbot used in this case)

Also: the buttons are reported as empty links by WAVE accessibility tool

@ichim-david ichim-david added the bug Something isn't working label Dec 16, 2023
@ichim-david ichim-david self-assigned this Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants