Open Bug 919443 Opened 11 years ago Updated 2 years ago

something funky about assigning of IA2 roles

Categories

(Core :: Disability Access APIs, defect)

x86_64
Windows 8
defect

Tracking

()

People

(Reporter: faulkner.steve, Unassigned)

Details

while editing the HTML mapping guide and in process checking the roles exposed for various elements I noticed that the roles assigned appear somewhat bizarro.

example:
<center> = IA2 PARAGRAPH
<main> = IA2 PARAGRAPH

it also appears as if IA2 section is used arbitrarily. How are the IA32 roles assignments decided?
role paragraph is used as for most text containers as a fallback, so for example if it's a div then section is returned, otherwise if no other condition triggers then paragraph (see http://mxr.mozilla.org/mozilla-central/source/accessible/src/generic/HyperTextAccessible.cpp#85).
Its unclear to me why <div> would be a section and <main> not and why <section> is a section and <article> not.
That code is a piece of history annals, we just have checks for div and section, we don't for main and article - it's from technical perspective. I don't have an objection why we shouldn't have similar for main and article elements. If you think those should be rather sections then it's fine with me. Is that a bug?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.