Closed
Bug 459782
Opened 16 years ago
Closed 16 years ago
check the name calculation rules for nsHTMLLinkAccessible
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b3
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access, fixed1.9.1)
Attachments
(1 file)
(deleted),
patch
|
davidb
:
review+
MarcoZ
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
These rules were introduced in bug 438325:
The priorities should be:
1. If a link has screen text, use it.
2. If it has an image, use the logic we have (alt and title of the html:img
tag).
3. If the above are not present, and the html:a tag has a title, use that for
an accessible name.
I wonder why the usual rules can't be applied:
1) get name from label
2) get name from subtree
3) get @title
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #350113 -
Flags: review?(david.bolter)
Assignee | ||
Updated•16 years ago
|
Attachment #350113 -
Flags: review?(marco.zehe)
Updated•16 years ago
|
Attachment #350113 -
Flags: review?(marco.zehe) → review+
Comment 2•16 years ago
|
||
Comment on attachment 350113 [details] [diff] [review]
patch
Looks good. I wonder if the comment:
// Don't use AppendFlatStringFromSubtree for container widgets like menulist
could be moved up closer to the eNameOkFromChildren check in the GetHTMLName implementation?
Attachment #350113 -
Flags: review?(david.bolter) → review+
Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> (From update of attachment 350113 [details] [diff] [review])
> Looks good. I wonder if the comment:
> // Don't use AppendFlatStringFromSubtree for container widgets like menulist
>
> could be moved up closer to the eNameOkFromChildren check in the GetHTMLName
> implementation?
eventually we get rid this comment at all becuase we will use role to decide whether we should collect the name from subtree.
Assignee | ||
Updated•16 years ago
|
Attachment #350113 -
Flags: approval1.9.1?
Comment 4•16 years ago
|
||
Comment on attachment 350113 [details] [diff] [review]
patch
a191=beltzner
Attachment #350113 -
Flags: approval1.9.1? → approval1.9.1+
Comment 5•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/ff61501bd888 and http://hg.mozilla.org/mozilla-central/rev/95803938905c
Next time please follow instructions ("make sure you include a commit message and an username in the attachment").
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b3
Updated•16 years ago
|
Keywords: fixed1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•