The HTML5 element abbr
is used to mark-up abbrevations and acronyms.
Unfortunately, the spec only gives examples for the acronyms "WHATWG", "WG" and "IOFGA".
There are words that are not wholly abbreviated, for example:
- etc.
- HTML5
Examples with alternatives:
<abbr title="et cetera">etc.</abbr>
<!-- or -->
et<abbr title="cetera">c.</abbr>
<abbr title="HyperText Markup Language 5">HTML5</abbr>
<!-- or -->
<abbr title="HyperText Markup Language">HTML</abbr>5
I'm not necessarily looking for pragmatic answers, I'm more interested in semantic, specification and accessibility point of views.
For example, I'd like to know what all the different screenreaders would read (if they are configured to announce abbreviations at all, which is at least for Jaws not the default).