Skip to content

Instantly share code, notes, and snippets.

@ferblape
Created July 26, 2023 05:43
Show Gist options
  • Save ferblape/ef15e157396cc64d94a7c17fa10fcaca to your computer and use it in GitHub Desktop.
Save ferblape/ef15e157396cc64d94a7c17fa10fcaca to your computer and use it in GitHub Desktop.
Decidim accessibility report
{
"violations": [
{
"description": "Ensures <img> elements have alternate text or a role of none or presentation",
"help": "Images must have alternate text",
"helpUrl": "https://dequeuniversity.com/rules/axe/4.7/image-alt?application=axeAPI",
"id": "image-alt",
"impact": "critical",
"nodes": [
{
"all": [
],
"any": [
{
"data": null,
"id": "has-alt",
"impact": "critical",
"message": "Element does not have an alt attribute",
"relatedNodes": [
]
},
{
"data": null,
"id": "aria-label",
"impact": "serious",
"message": "aria-label attribute does not exist or is empty",
"relatedNodes": [
]
},
{
"data": null,
"id": "aria-labelledby",
"impact": "serious",
"message": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",
"relatedNodes": [
]
},
{
"data": {
"messageKey": "noAttr"
},
"id": "non-empty-title",
"impact": "serious",
"message": "Element has no title attribute",
"relatedNodes": [
]
},
{
"data": null,
"id": "presentational-role",
"impact": "minor",
"message": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"",
"relatedNodes": [
]
}
],
"failureSummary": "Fix any of the following:\n Element does not have an alt attribute\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element has no title attribute\n Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"",
"html": "<img class=\"w-full h-full object-cover\" src=\"/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBaklGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--66bdaf9b08074cd6098549fee590784b3a89b3ee/city.jpeg\">",
"impact": "critical",
"none": [
],
"target": [
".object-cover"
]
}
],
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag111",
"section508",
"section508.22.a",
"ACT",
"TTv5",
"TT7.a",
"TT7.b"
]
}
],
"testEngine": {
"name": "axe-core",
"version": "4.7.2"
},
"testEnvironment": {
"orientationAngle": 0,
"orientationType": "landscape-primary",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/114.0.5735.248 Safari/537.36",
"windowHeight": 1080,
"windowWidth": 1920
},
"timestamp": "2023-07-26T04:36:47.599Z",
"decidim": {
"decidim_module": "decidim-blogs",
"page_description": "Blogs index"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment