[AccessFu] Report read only state for editables.

RESOLVED FIXED in mozilla35

Status

()

Core
Disability Access APIs
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: yzen, Assigned: maxli)

Tracking

Trunk
mozilla35
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
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.
(Assignee)

Comment 1

4 years ago
Created attachment 8477946 [details] [diff] [review]
Patch
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)

Comment 5

4 years ago
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
Last Resolved: 4 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.