News for hackers. Stuff that matters.
Re:The unreasonable effectiveness of simple HTML by pbronez on Wednesday January 27, 2021 @01:31PM (#25931925)
Are there any automated ways to assess a web product against the Web Content Accessibility Guidelines (WCAG)? This should really be part of the CI/CD process.
Re:The unreasonable effectiveness of simple HTML by ratww on Wednesday January 27, 2021 @01:41PM (#25932064)
There's a Firefox/Chrome extension called Axe that's pretty good. We use at my company it to make our products accessible and it helped us tremendously.

[1] https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/

[2] https://chrome.google.com/webstore/detail/axe-web-accessibil...

Re:The unreasonable effectiveness of simple HTML by bramd on Wednesday January 27, 2021 @02:15PM (#25932538)
The engine behind that add-on, Axe core, can be called from JS and there are some open source tools around to integrate it in your CI. I would say Axe is kind of the gold standard at this time when it comes to automated accessibility testing. Not because it catches the highest number of issues, but if it flags something you can be pretty sure it's a real issue and not a false positive.
Re:The unreasonable effectiveness of simple HTML by ahuth on Wednesday January 27, 2021 @03:33PM (#25933550)
Shameless plug: at work we created axe-storybook-testing [1], which can be used to run accessibility tests against Storybook stories [2] on CI.

1. https://github.com/chanzuckerberg/axe-storybook-testing 2. https://storybook.js.org/docs/react/get-started/whats-a-stor...

Re:The unreasonable effectiveness of simple HTML by Aeolun on Wednesday January 27, 2021 @05:53PM (#25935278)
Oh, this sounds interesting. I’ll have a look.
Re:The unreasonable effectiveness of simple HTML by tingletech on Wednesday January 27, 2021 @01:44PM (#25932101)
our web team wanted this in the CI/CD https://allyjs.io

edit: actually it's spelled https://pa11y.org

Re:The unreasonable effectiveness of simple HTML by cptskippy on Wednesday January 27, 2021 @01:51PM (#25932205)
Yes, there are a lot of tools. None are great and are mostly for compliance.

Products like Siteimprove are targeted at Enterprise (e.g. demos with sales weasels, unpublished pricing, etc). They mostly suck but check an auditing and compliance box.