Missing <img> alt attribute should be an error, not a warning. #10
Comments
http://www.w3.org/TR/wai-aria/roles#presentation states "Authors SHOULD NOT Do you think it's worth elevating the severity? I think we decided against On Sat, Jul 20, 2013 at 3:03 PM, Cameron Cundiff
|
On second thought, I agree with your original decision to make it a warning and not an error. Errors should be reserved for issues that 'make the page unusable', as you said, akin to an unhandled exception. I think that distinction is important, and a good one to document in the README. It also informs how we'll represent the errors in capybara-accessible, so thanks again for the clarification. |
Also, thanks for the reference on |
Our team is trying to achieve/maintain our product's accessibility according to usability and WCAG AA (nee 508) compliance on a distributed developer team. We definitely agree that missing alt attributes don't break the experience -but- would be a significant blocker for us to achieve our business objective of staying on the right side of AA. We use GADT in our regression test suite where we'd prefer the true failures to equate to things that a) break the page and b) break compliance. Any chance we could reconsider this issue and have missing alt attributes be failures? |
@willcc How urgent is this for you? I think a better solution would be to allow users to override the default error level settings, something like: This would be a bit more work than just setting the severity of the rule across the board, but I think we need to do it anyway for cases like this. I'll raise a bug for this and link it here, then you can follow it. In the meantime, if this is super urgent for you, you can always change it in a local fork and then revert to the main repository once that bug is fixed. |
Configuration would certainly solve the problem for us. We're a little low on developers atm but if that is still hanging around open in a couple weeks we'll pick that up and add the config. |
WebAIM indicates that even presentational images should have alt attributes, they should just be empty as an instruction to assistive tech to ignore them. Otherwise screen readers may read the file name or apply other heuristics to guess the description.
What do you think about elevating the severity on this audit to an error rather than a warning?
Here is the line: https://github.com/GoogleChrome/accessibility-developer-tools/blob/master/src/audits/ImageWithoutAltText.js#L27
The text was updated successfully, but these errors were encountered: