GNOME Bugzilla – Bug 570559
(ARIA) Label for links with 'labeledby' attribute is not presented
Last modified: 2009-02-11 18:05:33 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.
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.
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.