joshwcomeau/react-retro-hit-counter

a11y support

开放

#2 创建于 2018年1月28日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (5 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (165 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

React Retro Hit Counter creates numbers using SVG segments and a canvas border. This is totally unfriendly to screen readers.

I have a few thoughts for how to make it more accessible:

  • Aria tags
  • Adding zero-opacity text over the hit counter, something like "Hit counter with N hits"?
  • Something else?

I don't really know what would be best. Open to suggestions!

贡献者指南