Potential issues
- card types have varying accessibility requirements
- lists
- screen readers manage lists well (Card Interace isn't doing this)
- providing keyboard access
- Whole cards wrapped in links throwing out screen readers
- Headings
- Card headings appearing after images
- correct semantic mark for heading
- Other element placement for screen readers
- date block
- card label sub-heading
- Images
- file size
- alt tags - basic level indicating a card image may not be linked to understanding the page
Resources
codePen example
Identifies two problems
- Wrapping the whole card in a link - causes issues with screen readers issue with Card Interface
- Marking the image and call-to-action separate links
- Points out issues with the header not appearing before the image
Solves the first problem by
- Adding link to a header associated with the card
- Adding an event handler on load that
- Wraps each card with an on-click event - but which has to deal with the same issue of allowing links in the description
- And does some aria-hidden stuff on the 2nd issue
Starts with a list of issues with cards (good) and then a list of links to resources (including the above)
Outlines one approach. More a proposal, no working code
Collection of examples and suggestions a couple of useful points
More detailed insights.
- problem with link around the whole thing
- Basic approach
- sound document structure
- css to solve visual layout
- Javascript to enhance behaviour (if beneficial)
- pseudo-content trick - and other CSS to make the whole card clickable
- change the cursor style to get the change affordance
Tailwind accessibility
Potential issues
Resources
How to build accessible cards-block links
codePen example
Identifies two problems
Solves the first problem by
Resources for developing accessible cards/tiles
Starts with a list of issues with cards (good) and then a list of links to resources (including the above)
Inclusive web design: an approach
Outlines one approach. More a proposal, no working code
A11Y style guide Cards
Collection of examples and suggestions a couple of useful points
Cards by inclusive components
More detailed insights.
Tailwind accessibility