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

Ensure links do not directly target images #236

Open
eelzi-ONRR opened this issue May 11, 2023 · 2 comments
Open

Ensure links do not directly target images #236

eelzi-ONRR opened this issue May 11, 2023 · 2 comments
Assignees
Labels
Accessibility P3: Medium This doesn’t prevent the site from being used and can wait a bit before fixing.

Comments

@eelzi-ONRR
Copy link
Contributor

As per the May 2023 OCIO Report for the Blog:

Violation: Ensure links do not directly target images

Severity: 7

Since this is the only violation for the blog, they don't provide a priority number.

I believe this has to do with how the images are coded for the image viewer. The href attribue has no connection to an img src.

1,922 instances

Details about the violations: https://doimspp.sharepoint.com/:x:/s/NRRD/ETA-tWpLL6lKtYQFxRfZiUoBElaIrVOSK2iiv5kEiXakIg?e=swPy4z

More info:
https://www.webaccessibility.com/resource-library/best-practice/?bestPractice=401

Recommendation from Level Access: Do not link directly to images. Instead, ensure images are always contained within appropriate pages. In addition, alternative text for the image may also be provided on the page that contains the image link or alternative text may be part of the link text.

@Maroyafaied Maroyafaied added the Enhancement New feature or request. label Jun 8, 2023
@Maroyafaied
Copy link
Contributor

We'll have to look into this. The problem might be that the image is linked through href tag rather than an src tag.

@Maroyafaied Maroyafaied removed the Enhancement New feature or request. label Jul 12, 2023
@eelzi-ONRR
Copy link
Contributor Author

2024 report

Instances: 2,146
Occurrence: 71%
Severity: 7
Priority: none because it's the only violation

@eelzi-ONRR eelzi-ONRR added P3: Medium This doesn’t prevent the site from being used and can wait a bit before fixing. Accessibility labels Jun 10, 2024
@eelzi-ONRR eelzi-ONRR removed their assignment Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility P3: Medium This doesn’t prevent the site from being used and can wait a bit before fixing.
Projects
None yet
Development

No branches or pull requests

3 participants