Skip to content

Instantly share code, notes, and snippets.

@zoeabryant
Last active September 1, 2017 10:09
Show Gist options
  • Save zoeabryant/0373f656884cfc2706936c4ea5ec0b9c to your computer and use it in GitHub Desktop.
Save zoeabryant/0373f656884cfc2706936c4ea5ec0b9c to your computer and use it in GitHub Desktop.

🌻 accessibility:

βœ… check focus state on the first item

alt text:

βœ… clear button clear address finder

βœ… received translations

βœ… edit button: use 'edit address'

focus:

βœ… on error after clicking an item in address finder/typing

βœ… on results after clicking an item in address finder/typing

❌ on manual address fields after clicking that button (autofocus)

❌ on input after pressing clear

- don't want user to tab through everything before getting to the clear button - what if they have 60+ results?

If you need to alert your user to something urgently β€” for example to display an error message β€” use negative integers as your value. http://coop-design-manual.herokuapp.com/accessibility.html

UX input:

βœ… annouce grey box- to indicate successful select address (decided to focus before)

βœ… you have selected: xyzv hidden text on grey box

βœ… confirm copy, ask for translations

⛔️ translations

βœ… PROBLEM: it reads out everything. that feels like a lot...

⛔️ annouce: 'Keep typing your address to display more results' but change to be more... alerty?

βœ… CLEAR button: bottom of tabbing order

βœ… EDIT button: bottom of tabbing order

generally:

βœ… check HTML for addressFinderItems list of buttons - accessibility

βœ… grey background on hover items

βœ… don't supress focus state

βœ… breadcrumbs make no sense

βœ… make the whole thing a button

  βœ… read: londonderry Remove
  • the user should know it's loading

  • the user should know results have appeared

  • the user should be able to select results

  • the user should know if there's been an error

steps taken:

  • good HTML (importance of lists)

  • annouces errors

  • focus state shows (was hidden by overflow-hidden before)

  • ***aria-live: on the loading results

  • aria-label on edit button

    • there was an alt tag on the img, but was ignored as a presentational thing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment