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)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

It is just as functional, plus the bonus of telling the accessibility API that a UI is unavailable.
Assignee: nobody → eitan
Blocks: gaiaa11y
Keywords: access
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → All
Oops, rebased on current master.
Attachment #802649 - Attachment is obsolete: true
Attachment #802649 - Flags: review?(kaze)
Attachment #802652 - Flags: review?(kaze)
Attachment #802652 - Flags: review?(kaze) → review+
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.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
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 → ---
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: