Closed Bug 326564 Opened 20 years ago Closed 20 years ago

Better support for unknown roles

Categories

(Core :: Disability Access APIs, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access)

Attachments

(2 files)

When there's a role we don't know, we should: - expose the label and description - don't say it's focusable unless it is - expose the role in the role string
Attached file Test case
Comment on attachment 211288 [details] [diff] [review] Don't use mRoleMapEntry to determine if we have a DHTML role -- check for presence of xhtml2:role Addition of } in nsAccessibleWrap has weird indentation in the patch. Otherwise OK.
Attachment #211288 - Flags: review?(parente) → review+
Attachment #211288 - Flags: superreview?(neil)
Comment on attachment 211288 [details] [diff] [review] Don't use mRoleMapEntry to determine if we have a DHTML role -- check for presence of xhtml2:role >- if (mRoleMapEntry) { I assume there are still other users of this variable. >+ } Yes, you've got tabs here, when you need to have spaces.
Attachment #211288 - Flags: superreview?(neil) → superreview+
Checking in src/base/nsAccessible.cpp; /cvsroot/mozilla/accessible/src/base/nsAccessible.cpp,v <-- nsAccessible.cpp new revision: 1.173; previous revision: 1.172 done Checking in src/msaa/nsAccessibleWrap.cpp; /cvsroot/mozilla/accessible/src/msaa/nsAccessibleWrap.cpp,v <-- nsAccessibleWrap.cpp new revision: 1.36; previous revision: 1.35 done
Status: NEW → RESOLVED
Closed: 20 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: