Closed
Bug 757372
Opened 13 years ago
Closed 13 years ago
[AccessFu] Provide feedback when entering an entry field for editing
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: MarcoZ, Assigned: eeejay)
Details
Attachments
(1 file)
11.90 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Open a page that has an entry field.
2. navigate to it.
3. Press Enter to focus on it so one can type.
Expected: One should get feedback that one can now type.
Actual: No feedback is given.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → eitan
Assignee | ||
Comment 1•13 years ago
|
||
Do we only need feedback when we enter editing mode, or when we exit as well? I have a WIP, and the exit message gets clobbered by the focus move utterance. It sounds self evident that we are now navigating, so I don't see this too much as an issue.
I guess if we add a key to exit editing without arrowing out of it, it should announce something.
Thoughts?
Reporter | ||
Comment 2•13 years ago
|
||
I agree on both counts. :)
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #639413 -
Flags: review?(dbolter)
Comment 4•13 years ago
|
||
Comment on attachment 639413 [details] [diff] [review]
Announce "editing" when in editing mode. Use a11y states and focus to determine it.
Review of attachment 639413 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/src/jsat/AccessFu.jsm
@@ +368,5 @@
> +
> + let [,extState] = Utils.getStates(acc);
> + let editableState = extState &
> + (Ci.nsIAccessibleStates.EXT_STATE_EDITABLE |
> + Ci.nsIAccessibleStates.EXT_STATE_MULTI_LINE);
I'm unsure if this captures DesignMode/content editable... might want to // XXX that but I'm also not sure we'll care about it soon. Your call.
::: accessible/src/jsat/Presenters.jsm
@@ +358,5 @@
> + editingModeChanged: function AndroidPresenter_editingModeChanged(aIsEditing) {
> + this._appAnnounce(UtteranceGenerator.genForEditingMode(aIsEditing));
> + },
> +
> + _appAnnounce: function _appAnnounce(aUtterance) {
Just curious why you named it "appAnnounce"? Is it because this is where we are reminded we are an app(lication) sending an a11y event on android?
Attachment #639413 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to David Bolter [:davidb] from comment #4)
> Comment on attachment 639413 [details] [diff] [review]
> Announce "editing" when in editing mode. Use a11y states and focus to
> determine it.
>
> Review of attachment 639413 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: accessible/src/jsat/AccessFu.jsm
> @@ +368,5 @@
> > +
> > + let [,extState] = Utils.getStates(acc);
> > + let editableState = extState &
> > + (Ci.nsIAccessibleStates.EXT_STATE_EDITABLE |
> > + Ci.nsIAccessibleStates.EXT_STATE_MULTI_LINE);
>
> I'm unsure if this captures DesignMode/content editable... might want to //
> XXX that but I'm also not sure we'll care about it soon. Your call.
>
Yes, unlike the previous DOM solution, this should account for design mode.
> ::: accessible/src/jsat/Presenters.jsm
> @@ +358,5 @@
> > + editingModeChanged: function AndroidPresenter_editingModeChanged(aIsEditing) {
> > + this._appAnnounce(UtteranceGenerator.genForEditingMode(aIsEditing));
> > + },
> > +
> > + _appAnnounce: function _appAnnounce(aUtterance) {
>
> Just curious why you named it "appAnnounce"? Is it because this is where we
> are reminded we are an app(lication) sending an a11y event on android?
An inspiration from JellyBean API where they have an accessibility event just for things like this.
Assignee | ||
Comment 6•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•