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

Export like Accessibility Insights. #61

Open
mgifford opened this issue Oct 30, 2023 · 0 comments
Open

Export like Accessibility Insights. #61

mgifford opened this issue Oct 30, 2023 · 0 comments

Comments

@mgifford
Copy link

mgifford commented Oct 30, 2023

I can run a report and get something that looks like this with Purple Hats Desktop.

Error by copying from HTML report from Purple Hats

https://docu.ilias.de/ilias.php?baseClass=ilrepositorygui&reloadpublic=1&cmd=&ref_id=1

Must Fix elements33

Screenshot

Screenshot of affected element


Path

#il_ui_fw_653fbd96527741_09102376 > .glyph[role="img"]


HTML element

<span class="glyph" role="img"> <spanclass="glyphicon glyphicon-search " aria-hidden="true"></span> </span>

How to fix

Fix any of the following:

  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty

Element has no title attribute

With Accessibiity Insights it comes out as:

Title: WCAG 1.1.1: Ensures [role='img'] elements have alternate text (.glyph[role="img"])
Tags: Accessibility, WCAG 1.1.1, role-img-alt

Issue: Ensures [role='img'] elements have alternate text (role-img-alt - https://accessibilityinsights.io/info-examples/web/role-img-alt)

Target application: Content: docu.ilias.de: DOCU - https://docu.ilias.de/ilias.php?baseClass=ilrepositorygui&reloadpublic=1&cmd=&ref_id=1

Element path: #il_ui_fw_653feea90a27e0_44929788 > .glyph[role="img"]

Snippet: <span class="glyph" role="img"> <span class="glyphicon glyphicon-search " aria-hidden="true"></span> </span>

How to fix: 
Fix any of the following:
 aria-label attribute does not exist or is empty
 aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
 Element has no title attribute

Environment: Microsoft Edge version 118.0.2088.69

====

This accessibility issue was found using Accessibility Insights for Web 2.40.0 (axe-core 4.7.2), a tool that helps find and fix accessibility issues. Get more information & download this tool at http://aka.ms/AccessibilityInsights.

Conclusion

Similar but theirs is more generic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant