Closed Bug 1047428 Opened 10 years ago Closed 10 years ago

[AccessFu] Report read only state for editables.

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: yzen, Assigned: maxli)

Details

Attachments

(1 file)

Right now we are not reporting read only state for things like textarea and text inputs. It is otherwise confusing when the user tries to edit an entry that is not reported as read only so we need to fix that.
Attached patch PatchSplinter Review
Attachment #8477946 - Flags: review?(eitan)
This looks good. Needs a follow-up bug in gaia.
I'm a bit concerned that this is going to add too much chatter to random objects that are not immutable form elements. I guess I need to play with this. Max, do you have any insight about when/what objects get readonly?
What do you think, Marco?
Flags: needinfo?(marco.zehe)
I think read-only should indeed be restricted to text inputs and text areas, since they are the only ones that can be focusable, but not editable. Other elements are disabled, and thus not focusable, and are already indicated. This needs to be tightly restricted to text fields and text areas, but in those situations, is definitely a good and needed addition.
Flags: needinfo?(marco.zehe)
Comment on attachment 8477946 [details] [diff] [review]
Patch

Review of attachment 8477946 [details] [diff] [review]:
-----------------------------------------------------------------

It is early in this gecko cycle, lets give this a try.. If it is too verbose we could figure it out.
Attachment #8477946 - Flags: review?(eitan) → review+
https://hg.mozilla.org/mozilla-central/rev/d9a8514301a3
Assignee: nobody → maxli
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: