[Webkit-unassigned] [Bug 120122] Treat elements with static and editable text roles as text controls
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 23 10:49:10 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=120122
--- Comment #9 from Roger Fong <roger_fong at apple.com> 2013-08-23 10:48:36 PST ---
*(In reply to comment #8)
> (From update of attachment 209416 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=209416&action=review
>
> > Source/WebCore/accessibility/AccessibilityObject.cpp:286
> > + case StaticTextRole:
>
> static text should not be marked as text control. Text control is only for things that allow text input
Ah, I did not see the isStaticText() method on accessibility object. I will use that in conjunction with isTextControl() when deciding whether or not to create my accessibility object.
>
> > Source/WebCore/accessibility/AccessibilityObject.cpp:287
> > + case EditableTextRole:
>
> what's the difference between EditableTextRole and TextField or TextArea? can one of those roles be used instead of EditableTextRole?
You can have just a <div contenteditable=true>content here </div>
https://bugs.webkit.org/show_bug.cgi?id=120191 addresses this. (If it's a text node and content is editable it uses the EditableTextRole.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list