If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

role="anything" on <table> should remove roleless <td>'s, <th's> from hierarchy

RESOLVED FIXED

Status

()

Core
Disability Access APIs
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Georgios, Assigned: Aaron Leventhal)

Tracking

(Blocks: 1 bug, {access})

Trunk
x86
All
access
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: Low risk, bug was reported by a significant adopter of DHTML a11y)

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

In a layout table, that I use to place radiobuttons one after the other on the screen, I use the role "radiogroup". Using this role I expect that the radiobuttons inside the table would be recognized as belonging together, so that if I focus the first radiobutton it will be announced as "one of n" by an AT. Instead it is announced as "one of one". 

For example: I use a layout table with two cells. Each cell has a radiobutton. I give the table-tag the role "radiogroup". I connect all radiobuttons by giving their name attribute the same value (although this does not seem to be neccessary here). This could look like this: 
  
I want to travel by: 
o Car 
o Plane 
  
If I focus the first radiobutton I would expect the announcement "car - 1 of  2". But the announcement is "1 of 1"!!. Only if I change the role declared in the layout table from "radiogroup" to "presentaion", I will get the expected announcement. I think this could be amistake in the role "radiogroup".

Reproducible: Always

Steps to Reproduce:
1. Build a HTML layout table with two rows and one cell in each row.
2. Give the table the role "radiogroup"
3. Place a span container into each cell and give it the role "radiobutton" and a tabindex=0
4. Launch Jaws 7.x and focus the first span. 
5. Oserve that it is announced as "one of one"
6. Change the the table role to "presentation" and refocus the first span.
7. Observe that it is now announced as "one of two"

Actual Results:  
radiobutton group causes wrong annpouncement in list of radiobuttons. Each radiobutton is "one of one"

Expected Results:  
should be "x of n" (= one of 17)

dhtmla11y
(Reporter)

Updated

11 years ago
Keywords: access
(Assignee)

Updated

11 years ago
Blocks: 333488, 343213
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Assignee)

Updated

11 years ago
Summary: access radiogroup → role="anything" on <table> should remove roleless <td>'s, <th's> from hierarchy
(Assignee)

Comment 1

11 years ago
Georgios, do you have a small testcase file?
(Assignee)

Comment 2

11 years ago
Created attachment 229522 [details] [diff] [review]
Any role on a table means the table structure descendants are no longer structurally relevant, unless they have their own role. They're being used to layout the container.
(Assignee)

Comment 3

11 years ago
Created attachment 229664 [details] [diff] [review]
Table with radio buttons inside, table is role radiogroup
(Assignee)

Updated

11 years ago
Attachment #229522 - Attachment description: Not tested. Should work. → Any role on a table means the table structure descendants are no longer structurally relevant, unless they have their own role. They're being used to layout the container.
Attachment #229522 - Flags: review?(pilgrim)

Updated

11 years ago
Attachment #229522 - Flags: review?(pilgrim) → review+
(Assignee)

Updated

11 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
(Assignee)

Updated

11 years ago
Attachment #229522 - Flags: approval1.8.1?
(Assignee)

Updated

11 years ago
Whiteboard: Low risk, bug was reported by a significant adopter of DHTML a11y
(Assignee)

Updated

11 years ago
Attachment #229522 - Flags: approval1.8.1? → superreview?
(Assignee)

Updated

11 years ago
Attachment #229522 - Flags: superreview?
You need to log in before you can comment on or make changes to this bug.