Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.0 - Rule 6.4.4

Summary

This test consists in checking whether each indentical combined link have the same purpose and target.

Business description

Criterion

6.4

Test

6.4.4

Description

For each web page, does each identical link of type combined link have the same purpose and target?

Level

A

Technical description

Scope

Page

Decision level

Semi-Decidable

Algorithm

Selection

Set1

All the <a> tags with a "href" attribute, with children (a[href]:has(*) )

Set2

All the elements of Set1 with own text or with more than 1 child or with only one child not of type <img>, <canvas>, <svg>, <object> (where "img , object[type^=image], object[data^=data:image], object[data$=png], object[data$=jpeg], object[data$=jpg],object[data$=bmp], object[data$=gif], canvas, svg" returns empty)

Set3

All the elements of Set2 without "title" attribute and without context (assuming the definition of a link context in Rgaa3.0) and with an identical link text.

Set4

All the elements of Set2 with a not empty "title" attribute, without context and with an identical link text (combinaison of the link text and the "title" attribute text)

Set5

All the elements of Set2 with a "href" attribute, with a context and with an identical link text (combinaison of the link text and the "title" attribute text if it exists)

Process

 Test1

We check whether all the elements of Set3 have an identical "href" attribute.

For each element returning false in Test1, raise a MessageA.

 Test2

We check whether all the elements of Set4 have an identical "href" attribute

For each element returning false in Test2, raise a MessageA.

 Test3

We check whether all the elements of Set5 have an identical "href" attribute

For each element returning false in Test3, raise a MessageB.

MessageA
MessageB

Analysis

Not Applicable

The page has no group of combined links with an identical link text (Set3, Set4 and Set5 are empty)

Failed

  1. At least one element of the Set3 has a "href" attribute different from the others (Test1 returns false for at least one element)
  2. At least one element of the Set4 has a "href" attribute different from the others (Test2 returns false for at least one element)

Pre-Qualified

In all other cases

TestCases

TestCases files for rule 6.4.4