You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.
Right now, the results look like there are only 5 elements violation a given rule, and it is a bit misleading.
✖ Images should have an alt attribute
body > .container.ptl > .content > DIV:nth-of-type(2) > .exampleOutput > .gravatar.gravatar-sm > IMG
body > .container.ptl > .content > DIV:nth-of-type(2) > .exampleOutput > DIV:nth-of-type(2) > IMG
body > .container.ptl > .content > DIV:nth-of-type(3) > .exampleOutput > .gravatar.gravatar-sm > IMG
body > .container.ptl > .content > DIV:nth-of-type(3) > .exampleOutput > .gravatar.gravatar-sm.mlxl > IMG
body > .container.ptl > .content > DIV:nth-of-type(3) > .exampleOutput > DIV:nth-of-type(3) > IMG
The google accessibility audit outputs the total number of elements by each rule (e.g. (1 - 5 of 30)). It would be nice if a11y included this in the output as well.
✖ Images should have an alt attribute (1 -5 of 30)
...
Similarly, the API could have a numElements property
{elements: '\nbody > .container.ptl > .content > .section-nav > LI > A\n...',numElements: 30,heading: 'Text elements should have a reasonable contrast ratio',result: 'FAIL',severity: 'Warning'}
Somewhat related to #40
Right now, the results look like there are only 5 elements violation a given rule, and it is a bit misleading.
The google accessibility audit outputs the total number of elements by each rule (e.g.
(1 - 5 of 30)
). It would be nice if a11y included this in the output as well.Similarly, the API could have a numElements property
Would you be open to a PR?
cc/ @gpleiss, @matt-royal, @stubbornella, @ctaymor
The text was updated successfully, but these errors were encountered: