Asqatasun v4 - Summary

Asqatasun v4 - RGAA 3.0 - Rule 10.4.1

Summary

Check wether a forbidden unit is present in all CSS media types screen, tv, handheld and projection.

Business description

Criterion

10.4

Test

10.4.1

Description

In the style sheets of the website, non relative units (pt, pc, mm, cm, in) must not be used for the media types screen, tv, handheld, projection. Has this rule been followed?

Level

AA

Technical description

Scope

Page

Decision level

Decidable

Algorithm

Selection

Set1**

All the css Rules whose media is "screen", "tv", "handheld" or "projection".

Used nomenclature

Process

Test1

Check whether the properties of the css rules of Set1 use a forbidden unit (pt, pc, mm, cm, in, defined in the "RelativeCssUnits" nomenclature).

For each occurence returning true, raise a MessageA

Test2

A messageB is raised indicating that this css have to checked manually

MessageA : Bad Unit type
MessageB : Untested resource

Analysis

Passed

No property of css rules of Set1 uses a forbidden unit (Test1 returns false for all the elements of Set1)

 Failed

At least one css-rule of Set1 contains a property that uses a forbidden unit (Test1 returns true for at least one ement of Set1)

 Pre-Qualified

If a css could not have parsed, and so not tested for any reason AND no property of css rules of Set1 uses a forbidden unit (Test1 returns false for all the elements of Set1)

TestCases

TestCases files for rule 10.4.1