Ho provato a fare il test di accessibilità WAI ad un sito, e mi ha restituito i seguenti errori:
10.5 Until user agents (including assistive technologies) render adjacent links distinctly, include non-link, printable characters (surrounded by spaces) between adjacent links.
codice:
* Rule: 10.5.1 - All Anchor elements not surrounding images cannot be directly adjacent.
o Failure - Anchor Element found at Line: 16, Column: 1 is directly adjacent to the Anchor element that precedes it.
o Failure - Anchor Element found at Line: 17, Column: 1 is directly adjacent to the Anchor element that precedes it.
o Failure - Anchor Element found at Line: 18, Column: 1 is directly adjacent to the Anchor element that precedes it.
o Failure - Anchor Element found at Line: 19, Column: 1 is directly adjacent to the Anchor element that precedes it.
o Failure - Anchor Element found at Line: 20, Column: 1 is directly adjacent to the Anchor element that precedes it.
Il codice di riferimento è il seguente:
Per voi cosa ho sbagliato?
Ah... un'altra cosa: cosa si intende per 'tabindex' attribute? Da applicare a Anchor, AREA, BUTTON, INPUT, OBJECT, SELECT and TEXTAREA.
Un Anchor è un link?