Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accesibility action plan #333

Open
3 tasks done
furilo opened this issue Feb 13, 2017 · 3 comments
Open
3 tasks done

Accesibility action plan #333

furilo opened this issue Feb 13, 2017 · 3 comments

Comments

@furilo
Copy link
Member

furilo commented Feb 13, 2017

  • Review what things we should comply with
  • Outline an action plan of things we need to do to comply
  • Find a good validation tool
@furilo furilo added this to Ready in Product roadmap Feb 13, 2017
@martgnz
Copy link
Contributor

martgnz commented Feb 14, 2017

I've been doing some research and here's what I've found so far:

Certification

We should comply with WCAG 2 AA, that's the W3C, Spanish and EU standard. In the near future intranets and mobile apps should pass this, too.

This means, as a summary, that Gobierto should be keyboard accessible, achieve a 4,5:1 contrast ratio, allow a 200% zoom level without breaking the layout, and have better semantics and hierarchy to improve screen reader output.

The plan

To improve the current situation we can fix things regarding contrast and hierarchy:

  • We should try to improve the text colors to meet the suggested contrast ratios for body copy and headlines (using this tool).
  • A button should be a <button>, not a link.
  • Document issues
    • We should improve the hierarchy (missing a <h1>, for example)
    • We don't declare a language in the HTML
  • Implement ARIA wherever is needed:
    • Lists
    • Tables
    • Tabbed interfaces

The biggest effort will be adding ARIA to the markup: tables, tooltips, tabs and forms should have clear roles and statuses to improve screen-reader's accuracy (the JS should change these attributes too).

Attached there's a short report with some issues we can look into. In the future we should test the website using VoiceOver or a similar technology, and it would be great to make a user test.

Good accessibility doesn't seem easy but we can improve if we start coding UI elements with better semantics from the start.

Tools

Reference

Interesting reads

@ferblape
Copy link
Member

ferblape commented Mar 7, 2017

Question: is there any automated test we could add in our test suite to validate we are not introducing changes that are not valid accessibility point of view?

@martgnz
Copy link
Contributor

martgnz commented Mar 7, 2017

Good question! pa11y seems to be what we are looking for.

@ferblape ferblape removed this from Ready in Product roadmap Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants