overflowhidden’s avataroverflowhidden’s Twitter Archive—№ 2,046

      1. In doubt whether to use aria-label or a .sr-only class for links/button that visually only has an icon? I would recommend the .sr-only option every time, as that makes the button accessible in case CSS fails to load.
    1. …in reply to @overflowhidden
      Also, having the text as an attribute instead of in actual content often leads it to not being translated/updated in my experience. This is purely a org/process failure, but worth considering.
  1. …in reply to @overflowhidden
    Better yet: Always have visual labels in your buttons/links and avoid this issue all together. Users don’t really know what a given icon conveys and have no desire to learn. That’s it, thanx for coming to my TEDTalk :)