Bug 251404 - AX: De-couple contenteditable mapping from AXTextArea role (needs VO work, too)
Summary: AX: De-couple contenteditable mapping from AXTextArea role (needs VO work, too)
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-30 16:45 PST by James Craig
Modified: 2023-01-31 12:07 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2023-01-30 16:45:01 PST
AX: De-couple contenteditable mapping from AXTextArea role (needs VO work, too)

This will require changes to VoiceOver and possibly other assistive technologies, too.

HTML-AAM Issue 455 https://github.com/w3c/html-aam/issues/455 raised some potential problems with WebKit's accessibility mapping of contenteditable.

For example:

1. Should it really override the role? E.g., is <main contenteditable> no longer an AXGroup:AXApplicationMain?

2. How are the other values mapped? https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable e.g. See support table at contenteditable="plaintext-only" 

3. How would a cascade override work if we have it tied to role?

<div contenteditable="true">
    Obi-Wan never told you what happened to your father.
    He told me enough! He told me you killed him!
    <span contenteditable="false">No. I am your father.</span>
</div>

For now, VoiceOver's web editing functionality is interwoven with AXTextArea, but there are benefits to changing this. Filing this bug to track the eventual work in WebKit.
Comment 1 Radar WebKit Bug Importer 2023-01-30 16:45:13 PST
<rdar://problem/104843380>
Comment 2 James Craig 2023-01-31 12:07:31 PST
If/when this is changed, please file a new "spec needs update" issue to https://github.com/w3c/html-aam/issues (or ask me to do so. thanks.)