Closed
Bug 914886
Opened 12 years ago
Closed 12 years ago
use aria-disabled="true" instead of class="disabled"
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
10.58 KB,
patch
|
kaze
:
review+
|
Details | Diff | Splinter Review |
It is just as functional, plus the bonus of telling the accessibility API that a UI is unavailable.
Assignee | ||
Updated•12 years ago
|
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #802649 -
Flags: review?(kaze)
Assignee | ||
Comment 2•12 years ago
|
||
Oops, rebased on current master.
Attachment #802649 -
Attachment is obsolete: true
Attachment #802649 -
Flags: review?(kaze)
Attachment #802652 -
Flags: review?(kaze)
Updated•12 years ago
|
Attachment #802652 -
Flags: review?(kaze) → review+
Comment 3•12 years ago
|
||
FTR: class names have been preferred because they’re quicker to resolve in CSS selectors than aria-* attributes. However, we still should use aria attributes wherever they are needed for accessibility reasons, obviously.
Assignee | ||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
I had to back this out since it is breaking the linter.
----- FILE : /home/travis/build/mozilla-b2g/gaia/apps/settings/js/storage.js -----
Line 181, E:0010: Missing semicolon at end of line
Line 183, E:0010: Missing semicolon at end of line
https://github.com/mozilla-b2g/gaia/commit/9a4487c6734739cd97710c64bf9db01c31e36087
You can prevent this by running the linter before committing |make linter|. If you have the linter installed and in your $PATH, git commit will run it on the modified files. We also run the linter on your pull request and you click on travis details from the Github page.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 6•12 years ago
|
||
Oops! Fixed and relanded :)
https://github.com/mozilla-b2g/gaia/commit/0df2b5199af4ea14a16783d897a01cfea6a8016e
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•