Various link label examples

Link with aria-labelledby - Pass

This is some text

Link with aria-label - Pass

Link with text in body - Pass

Here is a good link

Link with "more" in body - Fail

more

Link with "click here" in body - Fail

click here

Link with "..." in body - Fail

...

Link with very long text in body - Fail

Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.

Link with title - Pass

Link with no href but title and onclick - Pass

Link with href, onclick, role and no tabindex - Pass

Testing

Link with aria-labelledby pointing to no ID - Fail

Link with aria-labelledby pointing to invalid ID - Fail

Label

Link with empty aria-label - Fail

Link with no text in body - Fail

Link with empty title - Fail

Link with no href, empty title and onclick - Fail

Two links with aria-label set to the same value - Fail

Span with role=link and aria-labelledby - Pass

Label

Span with role=link and aria-label - Pass

Span with role=link and title - Pass

Span with role=link and text in body - Pass

This is some text

Span with role=link and no label - Fail

Span with role=link and aria-labelledby set to invalid ID - Fail

Span with role=link and aria-label="" - Fail

Span with role=link and title="" - Fail

Span with role=link and title="more" - Fail

Span with role=link and title="click here" - Fail

Span with role=link and title="..." - Fail

Span with role=link and title very long text - Fail

Span with role=link and tabindex="-1" - Pass

Span with role=link and tabindex="0" - Pass

Span with role=link and tabindex="-456" - Pass

Span with role=link and tabindex="2" - Fail

Span with role=link and tabindex="2" and disabled attribute - Pass

Span with role=link and tabindex="2" and aria-disabled="true" - Pass