Version 2.0 Link Rules

From MemberWiki

Jump to: navigation, search

OAA Rules Home | WCAG 2.0 Summary of Rules | Rule Category Summary of Rules | Abbreviation Rules | Audio Rules | Color Rules | Embedded Application Rules | Form Control Rules | Heading Rules | Image Rules | Landmark Rules | Language Rules | Layout Rules | List Rules | Link Rules | Page Navigation Rules | Scripting Rules | Table Rules | Timing Rules | Title Rules | Video Rules | Widget Rules


Contents

Link Rule Details

Link Rule 1: Link text must/should be consistent

Property Value(s) Up To Date
Definition Links with the same HREF must/should have the same link text yes
Summary Link text must/should be consistent yes
Purpose
  • Consistency of link text makes interaction with web pages more predictable
yes
Rule ID LINK_1 yes
NLS Rule ID Link Rule 1 yes
Techniques
  • Use the same text for links that point to the same URL
  • Make sure the link text accurately describes the target of the link
yes
Manual Checks none yes
Scope Element yes
WCAG 2.0 Primary 2.4.4 yes
WCAG 2.0 Related
  • 2.4.9
yes
Language Dependency empty string yes
Rule Category Link yes
Target Resources
  • a
  • area
  • [role=link]
yes
Target Resources Description A and AREA elements and elements with ROLE="LINK" yes
Resource Properties
  • accessible_name
  • accessible_name_source
  • href
yes

Link Rule 1: Rule Result Messages

Property Value(s) Up To Date
All Pass: Singular Only one A, AREA or [ROLE=LINK] element on the page so no test to perform on consistent naming of links that share the same HREF value yes
All Pass: Plural All %N_P A, AREA or [ROLE=LINK] elements have consistent accessible names for links that share the same HREF value yes
Manual Check: Singular empty string yes
Manual Check: Plural empty string yes
Some Fail  %N_F out of %N_T A, AREA or [ROLE=LINK] elements do NOT have consistent accessible names for links that share the same HREF value yes
All Fail: Singular empty string yes
All Fail: Plural All %N_F A, AREA or [ROLE=LINK] elements do NOT have consistent accessible names for links that share the same HREF value yes
Corrective Action: Singular empty string yes
Corrective Action: Plural add ARIA-DESCRIBEDBY attribute to the %N_F A, AREA or [ROLE=LINK] elements to provide additional text context to make the accessible names unique yes
Not Applicable No A, AREA or [ROLE=LINK] elements on page share the same accessible name yes

Link Rule 1: Node Result Messages

Property Value(s) Up To Date
Pass 1  %1 element has unique HREF value on the page yes
Pass 2  %1 element has the same accessible name as the %2 links it shares the same HREF with yes
Pass 3 empty string yes
Manual Check 1 Verify the %1 element has the an accessible name that makes sense to users, since the link shares the same HREF has a different accessible name yes
Manual Check 2 empty string yes
Manual Check 3 empty string yes
Corrective Action 1 Change the text content of the %1 element to make it the same as other %2 links that share the same HREF value yes
Corrective Action 2 empty string yes
Corrective Action 3 empty string yes
Hidden (i.e. thru css)  %1 element is hidden from asssistive technologies. yes
Presentation (i.e. role=presentation) empty string yes
Other empty string yes

Link Rule 2: Link text must/should be unique

Property Value(s) Up To Date
Definition Links with different HREFs must/should have unique accessible names yes
Summary Link text must/should be unique yes
Purpose
  • Links that point to different URLs should have unique accessible names, when a link shares the same accessible name but have different URLs, users using speech will be confused unless programmatic text context is provided
yes
Rule ID LINK_2 yes
NLS Rule ID Link Rule 2 yes
Techniques
  • The link text (i.e. accessible name) should uniquely describe the target of a link,
  • Use aria-laeblledby to provide context for links that share the same link text
yes
Manual Checks none yes
Scope Element yes
WCAG 2.0 Primary 2.4.4 yes
WCAG 2.0 Related
  • 2.4.9
yes
Language Dependency empty string yes
Rule Category Link yes
Target Resources
  • a
  • area
  • [role=link]
yes
Target Resources Description A and AREA elements and elements with ROLE="LINK" yes
Resource Properties
  • accessible_name
  • accessible_name_source
  • href
  • accessible_description
yes

Link Rule 2: Rule Result Messages

Property Value(s) Up To Date
All Pass: Singular A, AREA or [ROLE=LINK] element has unique accessible name on the page yes
All Pass: Plural All %N_P A, AREA or [ROLE=LINK] elements have unique accessible name or are unique through additional text context on the page yes
Manual Check: Singular empty string yes
Manual Check: Plural empty string yes
Some Fail  %N_F out of %N_T A, AREA or [ROLE=LINK] elements do NOT have unique accessible name or are NOT unique even with additional text context on the page yes
All Fail: Singular empty string yes
All Fail: Plural All %N_F A, AREA or [ROLE=LINK] elements do NOT have unique accessible names or are NOT unique through additional text context on the page yes
Corrective Action: Singular add ARIA-DESCRIBEDBY attribute to the link to provide additional text to make the accessible name unique yes
Corrective Action: Plural add ARIA-DESCRIBEDBY attribute to the %N_FA, AREA or [ROLE=LINK] elements to provide additional text context to make the accessible names unique yes
Not Applicable No A, AREA or [ROLE=LINK] elements on page share the same accessible name yes

Link Rule 2: Node Result Messages

Property Value(s) Up To Date
Pass 1  %1 element has unique link text on the page yes
Pass 2  %1 element has the same HREF value as the %2 links it shares a name with yes
Pass 3  %1 element has unique link text throught the use of additional text context using ARIA-DESCRIBEDBY attribute yes
Manual Check 1 empty string yes
Manual Check 2 empty string yes
Manual Check 3 empty string yes
Corrective Action 1 Change the text content of the %1 element or provide additional context text to make the link text unique yes
Corrective Action 2 empty string yes
Corrective Action 3 empty string yes
Hidden (i.e. thru css)  %1 element is hidden from asssistive technologies. yes
Presentation (i.e. role=presentation) empty string yes
Other empty string yes

Link Rule 3: Link must/should not be small

Property Value(s) Up To Date
Definition Link must/should provide minimum target dimensions. yes
Summary Link must/should not be small yes
Purpose
  • Links must be large enough for people to see and select with the mouse
yes
Rule ID LINK_3 yes
NLS Rule ID Link Rule 3 yes
Techniques
  • Increase the rendered dimensions of the link
yes
Manual Checks none yes
Scope Element yes
WCAG 2.0 Primary 2.4.4 yes
WCAG 2.0 Related
  • 2.4.9
yes
Language Dependency empty string yes
Rule Category Link yes
Target Resources
  • a
  • area
  • [role=link]
yes
Target Resources Description A and AREA elements and elements with ROLE="LINK" yes
Resource Properties
  • height
  • width
  • is_visible_onscreen
yes

Link Rule 3: Rule Result Messages

Property Value(s) Up To Date
All Pass: Singular A, AREA or [ROLE=LINK] element is more than 12 pixels high and 12 pixels wide yes
All Pass: Plural All %N_P A, AREA or [ROLE=LINK] elements are more than 12 pixels high and 12 pixels wide yes
Manual Check: Singular Dimension of one A, AREA or [ROLE=LINK] element could not be calculated, manual check of dimensions need to be done to insure size is greater than 12 pixels high or 12 pixels wide yes
Manual Check: Plural Dimension of %N_MC A, AREA or [ROLE=LINK] elements could not be calculated, manual check of dimensions need to be done to insure size is greater than 12 pixels high or 12 pixels wide yes
Some Fail  %N_F out of %N_T A, AREA or [ROLE=LINK] elements are NOT more than 12 pixels high and 12 pixels wide yes
All Fail: Singular A, AREA or [ROLE=LINK] element is NOT more than 12 pixels high and 12 pixels wide yes
All Fail: Plural All %N_T A, AREA or [ROLE=LINK] elements are NOT more than 12 pixels high and 12 pixels wide yes
Corrective Action: Singular increase the dimensions of the A, AREA or [ROLE=LINK] element to be at least 12 pixels high and 12 pixels wide yes
Corrective Action: Plural increase the dimensions of the %N_F A, AREA or [ROLE=LINK] elements to be at least 12 pixels high and 12 pixels wide yes
Not Applicable No A, AREA or [ROLE=LINK] elements on page yes

Link Rule 3: Node Result Messages

Property Value(s) Up To Date
Pass 1  %1 element is more than 12 pixels high and 12 pixels wide yes
Pass 2 empty string yes
Pass 3 empty string yes
Manual Check 1 The rendered dimensions of the %1 element could not be determined, check to make sure the image is at least 12 pixels high and 12 pixels wide yes
Manual Check 2 empty string yes
Manual Check 3 empty string yes
Corrective Action 1 The rendered dimensions of the %1 element is %2 pixels by %3 pixels, change the dimensions of the image to be at least 12 pixels high and 12 pixels wide yes
Corrective Action 2 empty string yes
Corrective Action 3 empty string yes
Hidden (i.e. thru css)  %1 element is off screen. yes
Presentation (i.e. role=presentation) empty string yes
Other empty string yes

Link Rule 4: Link text must/should be descriptive

Property Value(s) Up To Date
Definition Accessible names for a link must/should describe the target of the link yes
Summary Link text must/should be descriptive yes
Purpose
  • Link text should describe the target of the link
yes
Rule ID LINK_4 yes
NLS Rule ID Link Rule 4 yes
Techniques
  • The text content of the link (i.e. the default accessible name) should uniquely describe the target of each link,
  • Use aria-label or aria-labelledby to provide more descriptive accessible names when the text content of the link cannot be changed
  • Use aria-describedby to provide context for links that share the same link text but have some type of context to make the link text meaningful
yes
Manual Checks none yes
Scope Element yes
WCAG 2.0 Primary 2.4.4 yes
WCAG 2.0 Related
  • 2.4.9
yes
Language Dependency empty string yes
Rule Category Link yes
Target Resources
  • a
  • area
  • [role=link]
yes
Target Resources Description A and AREA elements and elements with ROLE="LINK" yes
Resource Properties
  • accessible_name
  • accessible_name_source
  • href
  • accessible_description
yes

Link Rule 4: Rule Result Messages

Property Value(s) Up To Date
All Pass: Singular empty string yes
All Pass: Plural empty string yes
Manual Check: Singular empty string yes
Manual Check: Plural empty string yes
Some Fail  %N_F out of %N_T A, AREA or [ROLE=LINK] elements do NOT have an accessible name yes
All Fail: Singular A, AREA or [ROLE=LINK] element does NOT have an accessible name yes
All Fail: Plural All %N_F A, AREA or [ROLE=LINK] elements do NOT have accessible names yes
Corrective Action: Singular add text content to the link that describes the target of the link yes
Corrective Action: Plural add text content to the %1 links that describes the target of each link yes
Not Applicable No A, AREA or [ROLE=LINK] elements on page share the same accessible name yes

Link Rule 4: Node Result Messages

Property Value(s) Up To Date
Pass 1 empty string yes
Pass 2 empty string yes
Pass 3 empty string yes
Manual Check 1  %1 element has the accessible name "%2", verify that the name accurately describes the target of the link, if not change the text content or text context of the link to create a more accessible name yes
Manual Check 2  %1 element has the accessible name "%2" with a text content of "%3", verify that the name and context text accurately describes the target of the link, if not change the text content or context of the link to create a more accessible name yes
Manual Check 3 empty string yes
Corrective Action 1 The %1 element does NOT have an accessible name, add text content to the link so the the accessible name describes the target of the link yes
Corrective Action 2 empty string yes
Corrective Action 3 empty string yes
Hidden (i.e. thru css)  %1 element is hidden from asssistive technologies. yes
Presentation (i.e. role=presentation) empty string yes
Other empty string yes

new rule nls id : new rule summary

Property Value(s) Up To Date
Definition definition NO
Summary summary NO
Purpose
  • purpose 1
  • purpose 2
  • purpose 3
  • purpose 4
NO
Rule ID rule id NO
NLS Rule ID rule nls id NO
Techniques
  • technique 1
  • technique 1 url
  • technique 2
  • technique 2 url
  • technique 3
  • technique 3 url
  • technique 4
  • technique 4 url
NO
Manual Checks
  • manual check 1
  • manual 1 url
  • manual check 2
  • manual 2 url
  • manual check 3
  • manual 3 url
  • manual check 4
  • manual 4 url
NO
Scope Element or Page NO
WCAG 2.0 Primary X.X.X NO
WCAG 2.0 Related
  • Y.Y.Y
  • Z.Z.Z
NO
Language Dependency empty string NO
Rule Category Link NO
Target Resources
  • element 1
  • element 2
NO
Target Resources Description target resource nls description NO
Resource Properties
  • property 1
  • property 2
NO

new rule nls id : Rule Result Messages

Property Value(s) Up To Date
All Pass: Singular empty string NO
All Pass: Plural empty string NO
Manual Check: Singular empty string NO
Manual Check: Plural empty string NO
Some Fail empty string NO
All Fail: Singular empty string NO
All Fail: Plural empty string NO
Corrective Action: Singular empty string NO
Corrective Action: Plural empty string NO
Not Applicable empty string NO

new rule nls id : Node Result Messages

Property Value(s) Up To Date
Pass 1 empty string NO
Pass 2 empty string NO
Pass 3 empty string NO
Manual Check 1 empty string NO
Manual Check 2 empty string NO
Manual Check 3 empty string NO
Corrective Action 1 empty string NO
Corrective Action 2 empty string NO
Corrective Action 3 empty string NO
Hidden (i.e. thru css) empty string NO
Presentation (i.e. role=presentation) empty string NO
Other empty string NO
Personal tools