Hot answers tagged

2

Well there are many things you can do. aria-label and visually hidden text are the first to come to mind. Aria-label example: <button aria-label="primary (or other meaningful text)">Button text here</button>. Visually hidden text, only "visible" to screen readers: <button><span class="visually-hidden">Primary Action</span> ...


1

Small capitals for most fonts aren't web-ready yet. This article from Design for Hackers has some detail about why you should use real small capitals instead of fake (or just don't use them at all). You could use text-transform: uppercase to make a swathe of text appear as all-caps, when it's actually normal-case in the markup; that should sidestep the ...



Only top voted, non community-wiki answers of a minimum length are eligible