accessible name from multiple label elements missing white space
Categories
(Firefox :: Disability Access, defect)
Tracking
()
People
(Reporter: faulkner.steve, Unassigned, Mentored)
Details
| Reporter | ||
Updated•9 years ago
|
Comment 1•6 years ago
|
||
Hello everyone,
I am new to firefox. I would like to fix this bug. Is it available yet?
My initial analysis shows that we would have to fix the code somewhere here: nsTextEquivUtils::AppendFromAccessible.
I can debug this further if the bug is available.
I did little digging into the code and found that we explicitly trim spaces here: ENameValueFlag Accessible::NativeName(nsString& aName)
With best of my early-stage understanding, if we simply change the method to do this:
ENameValueFlag Accessible::NativeName(nsString& aName) const {
if (mContent->IsHTMLElement()) {
Accessible* label = nullptr;
HTMLLabelIterator iter(Document(), this);
while ((label = iter.Next())) {
nsTextEquivUtils::AppendTextEquivFromContent(this, label->GetContent(),
&aName);
aName.Append(L" ");
}
if (!aName.IsEmpty()) {
aName.CompressWhitespace();
return eNameOK;
}
We should be able to fix the issue.
Please assign this bug to me, I will try to come up with a correct solution.
Updated•6 years ago
|
Hey
Firefox is new to me. I will correct this error. Is it there?
My initial analysis indicated that we needed to fix the code here: nsTextEquivUtils :: AppendiceFromAccessible.
I can fix more if there is a mistake.
Comment 7•3 years ago
|
||
Users often access HTML content using assistive technologies that rely on platform accessibility API to obtain and interact with information from the page. This document is part of the following suite of accessibility API mapping specifications for content rendered by user agents:
Synapse X Synapse X Optifine
Comment 10•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:asa, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 12•2 years ago
|
||
Hello @apkwa. Has this bug been solved?
Comment 15•2 years ago
|
||
I was just contacted about this bug. However, since I am no longer a member of the Mozilla accessibility team and no longer employed at Mozilla, redirecting the mentorship to Jamie so as to avoid future confusion. I have also informed the person contacting me about this.
Comment 16•1 year ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.
For more information, please visit BugBot documentation.
Description
•