Hacker News new | ask | show | jobs
by jakub_g 4389 days ago
If you want your site to be accesible, there are a number of things that are a good way to get started:

1. Contrast. Don't use gray text on gray background [1]

2. Keyboard accessibility. Avoid adding onclick handlers on elements that are not an <a> / <input> / <button> [2]; use tabindex to make certain page element focusable and CSS's :active, :focus pseudoselectors (adding border, outline, changing background color etc.) to clearly indicate where's the focus for the keyboard users so they can navigate the page easily.

3. Avoid quickly-disappearing menus and everything that requires precise mouse pointing (elderly people tend to have problems with that) and can't be triggered from keyboard.

There are lots of websites failing at those basic things. When you fix that, you can start going further and making site further accessible for certain minorities.

[1] http://contrastrebellion.com/ [2] http://jakub-g.github.io/accessibility/onclick/