RESOLVED FIXED 126579
AX: Make roleValue() return DescriptionListRole for <dl> elements
https://bugs.webkit.org/show_bug.cgi?id=126579
Summary AX: Make roleValue() return DescriptionListRole for <dl> elements
Mario Sanchez Prada
Reported 2014-01-07 06:37:29 PST
At the moment, roleValue() returns ListRole for every list element, even <dl> ones and so we need to check the result of isDescriptionList() in places where we want to know if it's a normal list or a description list (e.g. the ATK wrapper). This bug is about fixing that small issue, according to the comments on bug 125857.
Attachments
Patch proposal (4.30 KB, patch)
2014-01-07 07:15 PST, Mario Sanchez Prada
cfleizach: review+
Radar WebKit Bug Importer
Comment 1 2014-01-07 06:38:17 PST
Mario Sanchez Prada
Comment 2 2014-01-07 07:15:46 PST
Created attachment 220523 [details] Patch proposal Attaching patch proposal. In the end, I think no change is needed in the Mac since the code to map DescriptionListRole into NSAccessibilityListRole in role(), and the code to return NSAccessibilityDescriptionListSubrole/NSAccessibilityDefinitionListSubrole is already there and should keep working fine.
Mario Sanchez Prada
Comment 3 2014-01-08 02:54:51 PST
Note You need to log in before you can comment on or make changes to this bug.