New Fieldset (role=group) and role=legend mappings added to AccName Prototype

Hi,
I'll need people to test this out to make sure I have the mappings down as expected. The project files can be downloaded at
https://github.com/WhatSock/w3c-alternative-text-computation

Within the docs folder, there is a new folder named "Proposed fieldset and role=group plus Legend Tests". Within here, are multiple variations of code that I think is returning the correct legend text as we discussed.

In all but 4 of these files, the legend text "This is really important." Is returned as the accName for the fieldset or role="group" with id="test".

Within these 4 others however, the accName returned is "", because there is no legend or role="legend" present within that specific group.

These files are: "Standard-nested-fieldset-with-legend.html", "Standard-nested-fieldset-with-legend-role.html", "Nested-role-group-with-legend.html", and "Nested-role-group-with-legend-role.html".

Can you please run the code and see if this works as you expect it to? This is important because bugs will be filed against browsers later when they don't match as expected.

Thanks,
Bryan



Bryan Garaventa
Principal Accessibility Architect
Level Access, Inc.
Bryan.Garaventa@LevelAccess.com
415.624.2709 (o)
www.LevelAccess.com

Received on Saturday, 27 April 2019 00:11:31 UTC