Commit 89453a5
committed
docs(pkgdown): add aria-label to icon-only navbar items (home, github)
pkgdown's accessibility check warned that an icon-only navbar entry lacks an
`aria-label` for screen readers ("Icon fa-home lacks an aria-label"; the message
is throttled to once per 8h so only the first offender printed). Add
`aria-label` to the `home` and `github` components -- the only icon-only navbar
items. `twitter` already had one, and reference/articles/news/network/data
carry visible text, so they need none.1 parent b26ee8d commit 89453a5
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
199 | 201 | | |
200 | 202 | | |
201 | 203 | | |
| |||
0 commit comments