Closed Bug 601205 Opened 14 years ago Closed 14 years ago

Expose intrinsic invalid state to accessibility API

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b7

People

(Reporter: davidb, Assigned: davidb)

Details

Attachments

(1 file)

Spin off from bug 559275 comment 19. I'll post a patch when I have tests.
Attached patch patchSplinter Review
Attachment #480214 - Flags: review?(marco.zehe)
Comment on attachment 480214 [details] [diff] [review]
patch


>+    // invalid/valid state
>+    var invalid = ["maxlength","pattern","email","url"];
>+    document.getElementById("maxlength").value="i am too long";

nit: spaces around '=' please and usually you should put a link to the bug under anchor section, otherwise is good
Comment on attachment 480214 [details] [diff] [review]
patch

Nice one! And it gave me an idea for a blog post, too. :) r=me
Attachment #480214 - Flags: review?(marco.zehe) → review+
http://hg.mozilla.org/mozilla-central/rev/ab23efe20e3b
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Target Milestone: mozilla2.0b8 → mozilla2.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: