plattform icon indicating copy to clipboard operation
plattform copied to clipboard

A11Y: Communicate active/selected state of navigation/selection elements

Open trm217 opened this issue 3 years ago • 0 comments

Description

Links and Buttons used for the page state musst share which link/button must communicate the active state for screen readers. There are two variants for this:

  • The A11Y-review suggested the following approach.
  • Additionally we should also add the aria-current. See mdn-docs
  • (This might need some more research on how we utilise links, but in general we could automatically set aria-current="page" on every link that has a href that matches window.location.)

Todo

  • [x] Comment sort- and filter-links must communicate the active state image

  • [x] The navigation must communicate the active page image

  • [x] Selected payments-option must be communicated image

trm217 avatar Jun 09 '22 14:06 trm217