Closed Bug 1215019 Opened 9 years ago Closed 9 years ago

Drop constructing table accessible objects for tables built by CSS display:table

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1007975

People

(Reporter: takenspc, Unassigned)

References

(Blocks 1 open bug)

Details

After bug 1177640 was fixed, as far as I know, Gecko doesn't expose table semantics for layout tables on major platforms (adding layout-guess:true or expose them as groups).

As tables built by CSS display:table are exposed as layout tables, we don't need to construct table accessible objects for tables built by CSS display:table.

HTMLTableAccessible::IsProbablyLayoutTable
https://dxr.mozilla.org/mozilla-central/source/accessible/html/HTMLTableAccessible.cpp#930

> if (!mContent->IsHTMLElement(nsGkAtoms::table))
>   RETURN_LAYOUT_ANSWER(true, "table built by CSS display:table style");

Authors can use role="display" (bug 1173364) to add table semantics to arbitrary elements.
Related to, if not dupe of, bug 1007975.
Blocks: tablea11y
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.