Open
Bug 1333425
Opened 8 years ago
Updated 3 years ago
HTML5's autofocus should be optional for accessibility
Categories
(Core :: Disability Access APIs, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: mike, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507
Steps to reproduce:
Screenreaders should be able to disable autofocus.
Actual results:
There is no option to do this and screenreaders can't override this behavior in the browser.
Expected results:
You should be able to enable/disable autofocus so it doesn't disrupt the user experience of people with disabilities.
Reporter | ||
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Do any browsers today allow diabling of autofocus?
Reporter | ||
Comment 2•8 years ago
|
||
I am not aware of any browsers that provide this option Marco. However, there is this from the W3C:
https://w3c.github.io/html/sec-forms.html#autofocusing-a-form-control-the-autofocus-attribute
Use of the autofocus attribute can reduce usability and accessibility for users. Users of assistive technology can be adversively affected, because its use overrides the default behaviour of assistive technology to display content at the top of a document in the viewport, or announce content from the start of the document. Users with cognitive disabilities can also be disorientated by unexpected focus movement upon page load.
User agents should provide a method for users to disable the autofocus attribute behaviour.
Reporter | ||
Comment 3•8 years ago
|
||
Wanted to add that this can be accessed via:
about:config
browser.autofocus
Just not somewhere that most folks want to venture. This is about making this easier to access.
Updated•8 years ago
|
Priority: -- → P5
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•