Closed Bug 809688 Opened 12 years ago Closed 4 years ago

accessible name and description have special mappings on mac

Categories

(Core :: Disability Access APIs, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: surkov, Assigned: morgan)

References

Details

(Keywords: access, Whiteboard: [mac2020_1])

See http://www.w3.org/WAI/PF/aria-implementation/#mapping_additional_nd:

aria-label and aria-labelledby:

Calculate accessible name as described in Name Computation and expose value as string AXDescription.

Note: AXDescription is recommended for accessible name values that are not exposed visually, such as @alt and @aria-label. Accessible name values that are exposed visually, as in the case of a button, should be exposed as string AXTitle. For example, with <input type="button" value="Feb" aria-label="February">, expose both AXTitle:"Feb" and AXDescription:"February

aria-describedby:

Use in calculating the accessible description as described in Name Computation and expose value as string AXHelp.
aria-labelledby (similar to aria-label but not the same):

Use in calculating the accessible name as described in Name Computation and expose value as string AXDescription. 

Alternatively, expose the labeling relationship as element AXTitleUIElement. Note: If the labeling element is not exposed in the accessibility tree, using AXTitleUIElement is not appropriate, as there is no element to reference.
btw, aria-labelledby doesn't seem clear, I asked for clarifications by email
Summary: accessible name and description on mac are supposed to be different from other platforms → accessible name and description have special mappings on mac
Assignee: nobody → hub
(In reply to alexander :surkov from comment #2)
> btw, aria-labelledby doesn't seem clear, I asked for clarifications by email

clarification was:

aria-labelledby: If aria-labelledby references a single element, expose the labeling relationship as element AXTitleUIElement. If aria-labelledby references multiple elements, or if the labeling element is invisible or otherwise not exposed in the accessibility tree, calculate the accessible name as described in Name Computation and expose the value as string AXDescription instead.
Unassigning from Hub since he is no longer working on Mac a11y.
Assignee: hub → nobody
Whiteboard: [mac2020_1]
See Also: → 1611428
Assignee: nobody → mreschenberg
Priority: -- → P3

:eeejay what work is left to do for this that wasn't covered in the describedBy stuff I did earlier? Having a hard time deciphering this bug's intent.

Flags: needinfo?(eitan)

I think your patch fixes this issue!

Flags: needinfo?(eitan)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.