After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 570559 - (ARIA) Label for links with 'labeledby' attribute is not presented
(ARIA) Label for links with 'labeledby' attribute is not presented
Status: RESOLVED NOTGNOME
Product: orca
Classification: Applications
Component: general
unspecified
Other opensolaris
: Normal normal
: 2.24.4
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2009-02-04 22:05 UTC by Willie Walker
Modified: 2009-02-11 18:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Willie Walker 2009-02-04 22:05:24 UTC
1) Go to http://codetalks.org/source/widgets/link/link.sample.html
2) Apparently, the link that is labelled is labelled by "Homepage:"  Orca doesn't present this.

NOTE: In the "let us invent a new way to do things rather than use an existing API" department, the ARIA folks apparently have created a "labeledby" object attribute rather than using the labelled_by relation.  So, arguably, the place where this really is a bug is in the ARIA support.
Comment 1 Willie Walker 2009-02-11 17:40:09 UTC
OK, I was regretfully and embarrassingly in a particularly snarky mood when I opened this bug. 

When I look at http://codetalks.org/source/widgets/link/link.sample.html, the link has an aria-labeledby property.  This is only exposed via the AT-SPI as a "labeledby" property name with a string value of "label2".  There is no RELATION_LABELLED_BY Accessible Relation that has been set up.

Constrast this with the Dojo check boxes and their labels, which have the expected RELATION_LABELLED_BY and RELATION_LABEL_FOR relations:

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_CheckBox.html

The lack of a RELATION_LABELLED_BY relation seems like an ARIA implementation bug to me.  That is, I'd expect the presence of an aria-labelledby property to automatically set up the appropriate AT-SPI relations.

I've contacted the developers.
Comment 2 Willie Walker 2009-02-11 18:05:33 UTC
This was a bug in the page.  The property should have been spelled with two l's instead of one: "aria-labelledby".  The authors have updated the page and all is good.