Menu

I grepped all 38 pages of our site for accessibility: one h1 each, 1,091 links with names, and a focus ring at 1.82:1
📰

I grepped all 38 pages of our site for accessibility: one h1 each, 1,091 links with names, and a focus ring at 1.82:1

DEV Community: nextjs·Daniel Pertu·1 day ago
#wFsGEkww
#devtonextjs#devto#dev#fafafa#focus
Reading 0:00
15s threshold

Notifio has 38 public pages, all generated from TypeScript arrays. I have counted their links, their images and their HTML weight before. This time I fetched all 38 and counted the accessibility primitives, because a score out of 100 from a tool tells you how you did on one page and a census tells you which decisions are repeated 38 times.

curl -s https://notifio.app/sitemap.xml | grep -o '<loc>[^<]*' | cut -c6- \ | while read u ; do curl -s "$u" -o "pages/$(basename $u).html" ; done

Enter fullscreen mode

Exit fullscreen mode

Then regex over the served markup.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.