diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-15 06:12:23 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-15 06:37:57 +0200 |
| commit | 87014fa08fa6d2267854bbd179c0c1887d139cf6 (patch) | |
| tree | 54aa7055195cc71cc21299b1e898260ca605856b /pages/banners | |
| parent | a9bc9bb234bcde97309520cd9a4e034abe3f42db (diff) | |
Add semantic HTML5 elements to index headings
W3C's HTML5 specification instructs a standard way to create
subheadings in "4.12.1 Subheadings, subtitles, alternative titles and
taglines". [1]
A `<h2>` element is not appropriate here as a subheading, because the
subheading "Roppa interior~" is not part of the document outline but a
Catalonian translation of the `<h1>` heading.
Adding a `lang="ca"` attribute to the Catalonian subheading increases
screenreader compatibility and semantics even further. Screenreaders
will then use Catalonian pronounction instead of English if supported.
[1]: http://www.w3.org/html/wg/drafts/html/CR/common-idioms.html#sub-head
Diffstat (limited to 'pages/banners')
0 files changed, 0 insertions, 0 deletions
