Testing aria-labelledby and aria-describedby support in popular browsers on Windows.

Results

Notes:

screenshot of the inspect32 application displaying example values of the name role and description properties for test 8

Summary

Expected and actual output for single and multiple values in aria-labelledby and aria-describedby
Test Expected IE 8 IE 9 platform preview Firefox 3.6 Opera 10.51 Safari 4.0 Chrome 4.1.249.1036
1 Name: RGB button Name: RGB button Name: RGB button Name: RGB button X X Name: RGB button
2 Name: RGB button Name: RGB (X) Name: RGB (X) Name: RGB button X X Name: RGB button
3
  • Name: RGB button
  • Description: An image button for testing purposes.

Name: RGB button

Description:none (X)

Name: RGB button

Description:none (X)

  • Name: RGB button
  • Description: An image button for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes.
4
  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: RGB button

Description:none (X)

Name: RGB button

Description:none (X)

  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
5
  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: RGB (X)

Description: none (X)

Name: RGB (X)

Description: none (X)

  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
6

Name: RGB button

Description: An image button for testing purposes. A second paragraph for testing purposes.

Name: none (X)

Description: none (X)

Name: none (X)

Description: none (X)

Name: "images/rgbbutton.gif" (x)

Description: An image button for testing purposes.

A second paragraph for testing purposes.

X X

Name: none

Description: An image button for testing purposes. A second paragraph for testing purposes.

7

Name: RGB button

Description: An image button for testing purposes. A second paragraph for testing purposes.

Name:test title (X)

Description: none (X)

Name:test title (X)

Description: none (X)

Name: RGB button

Description: An image button for testing purposes.

A second paragraph for testing purposes.

X X

Name: RGB button

Description: An image button for testing purposes. A second paragraph for testing purposes.

8
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.

Name: test alt (X)

Description: none (X)

Name: test alt (X)

Description: none (X)

  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
9
  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: none (X)

Description: test alt (X)

Name: none (X)

Description: test alt (X)

  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
10
  • Name: test title
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: test title

Description: none (X)

Name: test title

Description: none (X)

  • Name: test title
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name: test title
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
11
  • Name: test alt
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: test alt

Description: none (X)

Name: test alt

Description: none (X)

  • Name: test alt
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name:none (x)
  • Description: An image button for testing purposes. A second paragraph for testing purposes.
12
  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.

Name: test alt (X)

Description: none (X)

Name: test alt (X)

Description: none (X)

  • Name: RGB button
  • Description: An image button for testing purposes.
  • A second paragraph for testing purposes.
X X
  • Name: RGB button
  • Description: An image button for testing purposes. A second paragraph for testing purposes.

aria-labelledby and aria-describedby tests

labels and descriptions

single id label

<p id="l1">RGB button</p>

multiple id label

<p id="l2">RGB</p>

<p id="l3">button</p>

single id description

<p id="d1">An image button for testing purposes.</p>

+ multiple id description

<p id="d2">A second paragraph for testing purposes.</p>

Tests 1-6

notes:

test 1. input type="image" with no alt="" and aria-labelledby with single id reference

test 2. input type="image" with no alt="" and aria-labelledby with multiple id references

test 3. input type="image" with no alt="", aria-labelledby and aria-describedby with single id reference

test 4. input type="image" with no alt="", aria-labelledby with a single id reference and aria-describedby with multipe id references

test 5. input type="image" with no alt="", aria-labelledby with mutliple id references and aria-describedby with multipe id references

test 6. input type="image" with no alt="", and aria-describedby with multipe id references


Tests 7- 12

notes:

test 7. input type="image" with an empty alt="", title="test title", aria-labelledby with mutliple id references and aria-describedby with multipe id references

test 8. input type="image" with an alt="test alt", aria-labelledby with mutliple id references and aria-describedby with multipe id references

test 9. input type="image" with an alt="test alt", title="", aria-labelledby with mutliple id references and aria-describedby with multipe id references


test 10. input type="image" with a title="test title",and aria-describedby with multipe id references

test 11. input type="image" with an alt="test alt",and aria-describedby with multipe id references

test 12. input type="image" with an alt="test alt", aria-labelledby with mutliple id references and aria-describedby with multipe id references

References

Author: steve faulkner The Paciello Group
contact: sfaulkner@paciellogroup.com


This work is licenced under a Creative Commons Licence.

RGB button

RGB

button

An image button for testing purposes.

A second paragraph for testing purposes.