Skip to content

Commit

Permalink
chore: add accessibility note regarding headings
Browse files Browse the repository at this point in the history
  • Loading branch information
marvel-uiuc committed Aug 8, 2024
1 parent 19e45f3 commit e4011c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ those will utilize the first link in the contents.

## Accessibility Notes

- Make sure to use the **correct heading level** for the cards based on the rest of your page, if including a heading
tag.
- **Images and icons** on cards should generally be decorative with an empty `alt=""` attribute. If you do need an image
that needs to be described, consider placing it below the heading. If it's at the top with an alt text,
it may be confusing for screen readers if it comes before the title of the card.
Expand Down

0 comments on commit e4011c0

Please sign in to comment.