webhintio / hint

πŸ’‘ A hinting engine for the web

Home Page:https://webhint.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Axe errors: show which element the error is about

kuba-orlik opened this issue Β· comments

πŸš€ Feature request

Description

When axe showcases issues with accessibility, it doesn't provide any hint on what item does it have in mind:

So I get an error like "Form elements must have labels: Element has no title attribute Element has no placeholder attribute" and it's not quite actionable. Which input should I look at?

image

It would be nice if it provided an HTML snippet of the affected part of the document