Closed
Bug 489944
Opened 15 years ago
Closed 15 years ago
@title attribute no longer exposed on accDescription
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
VERIFIED
FIXED
mozilla1.9.1
People
(Reporter: MarcoZ, Assigned: surkov)
References
Details
(Keywords: access, regression, verified1.9.1)
Attachments
(1 file, 1 obsolete file)
4.41 KB,
patch
|
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
This is a regression from 3.0, where the title attribute's value was exposed as accDescription for links and images. I've confirmed it is broken on both mozilla-central and mozilla-1.9.1.
Reporter | ||
Comment 1•15 years ago
|
||
Works in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081010 Minefield/3.1b2pre (.NET CLR 3.5.30729) Is broken in: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081011 Minefield/3.1b2pre (.NET CLR 3.5.30729) Regression range: http://hg.mozilla.org/mozilla-central/shortlog/035cf0234960 Candidate: Bug 453591
Blocks: 453591
Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1) > Candidate: Bug 453591 Right (http://hg.mozilla.org/mozilla-central/diff/5eb98035a8a0/accessible/src/base/nsAccessible.cpp)
Assignee | ||
Comment 3•15 years ago
|
||
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #374443 -
Flags: review?(marco.zehe)
Assignee | ||
Updated•15 years ago
|
Attachment #374443 -
Flags: review?(david.bolter)
Assignee | ||
Comment 4•15 years ago
|
||
clarification: previously GetTextFromRelationID returned NS_ERROR_FAILURE if there is no aria-describedby attribute, bug 453591 changed it to NS_OK.
Reporter | ||
Comment 5•15 years ago
|
||
Comment on attachment 374443 [details] [diff] [review] patch >+ function doTest() >+ { >+ // aria-label Nit: Please include a test for aria-describedby as well. And change the comment accordingly. >+ <img id="img1" title="title"> >+ <img id="img2" alt="name" title="description"> Nit: I'd prefer if the tags were closed with /> instead of >.
Reporter | ||
Comment 6•15 years ago
|
||
Comment on attachment 374443 [details] [diff] [review] patch r=me with those nits fixed. I confirmed that NVDA indeed again picks up the title for an image or link if asked for it.
Attachment #374443 -
Flags: review?(marco.zehe) → review+
Comment 7•15 years ago
|
||
(In reply to comment #4) > clarification: previously GetTextFromRelationID returned NS_ERROR_FAILURE if > there is no aria-describedby attribute, bug 453591 changed it to NS_OK. Heh, reminds me of bug 381048
Updated•15 years ago
|
Attachment #374443 -
Flags: review?(david.bolter) → review+
Comment 8•15 years ago
|
||
Comment on attachment 374443 [details] [diff] [review] patch r=me if all a11y suite tests pass. (and with Marco's nits)
Comment 9•15 years ago
|
||
Comment on attachment 374443 [details] [diff] [review] patch Alexander, this is the part I'm confused about (in our IRC chat) > // 4. its title attribute already equals to its accName nsAutoString name; > nsCOMPtr<nsIContent> content(do_QueryInterface(mDOMNode)); >- if (!content) { >- return NS_ERROR_FAILURE; // Node shut down >- } >+ NS_ASSERTION(content, "No content of valid accessible!"); >+ if (!content) >+ return NS_OK; >+
Comment 10•15 years ago
|
||
If you return an error instead of the NS_OK as per our chat, that works for me.
Assignee | ||
Comment 11•15 years ago
|
||
with Marco and David wishes Need to port on 1.9.1, regression fix
Attachment #374443 -
Attachment is obsolete: true
Attachment #374454 -
Flags: approval1.9.1?
Comment 12•15 years ago
|
||
Comment on attachment 374454 [details] [diff] [review] patch2 looks better thanks.
Reporter | ||
Comment 13•15 years ago
|
||
Pushed on Alexander's behalf in changeset: http://hg.mozilla.org/mozilla-central/rev/0390afd7fc62
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•15 years ago
|
||
Verified fixed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090503 Minefield/3.6a1pre (.NET CLR 3.5.30729)
Status: RESOLVED → VERIFIED
Comment 16•15 years ago
|
||
Comment on attachment 374454 [details] [diff] [review] patch2 a191=beltzner
Attachment #374454 -
Flags: approval1.9.1? → approval1.9.1+
Reporter | ||
Comment 17•15 years ago
|
||
Pushed to mozilla-1.9.1 on Alexander's behalf in changeset: http://hg.mozilla.org/releases/mozilla-1.9.1/rev/ddc9a48a1509
Keywords: fixed1.9.1
Reporter | ||
Comment 18•15 years ago
|
||
Verified fixed in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b5pre) Gecko/20090507 Shiretoko/3.5b5pre (.NET CLR 3.5.30729)
Keywords: fixed1.9.1 → verified1.9.1
Target Milestone: --- → mozilla1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•