Yes and No, HCM means that foreground and backgroundcolors are set by
> Can HCM be handled simply by not having any plugins rely on images?
the user of the page. The user sees images, but not backgroundimages,
so most of the image-replacement techniques are not "allowed".
> .ui-dialog-titlebar-close span {> display: none;elements, that are hidden with display: none aren´t usually read by
>
> }
screenreaders. you should move them out of viewport instead.
Hi Scott,
I totally agree. I only added button semantics to this anchor via the
role-attribute.
> Perhaps there should be an option for "closeLinkText" to allow for
> localization as well?
>
I added a feature, where you can decide the innerHTML of the anchor. But
i mixed text with markup here (<span>X</span><span
class="ui-accessible-hidden"> close</span>). For simple localization
this should be ok. But jquery ui code standards seem to strongly
seperate text from markup options.
> -Scott
>
>
> >
>
Any objections to an anchor tag with a role of button rather than an
actual button element?
I've found a workaround which seems to do the right thing. Instead of
tagging the menu with role "menu", use role "listbox" instead. Now both
screen readers speak the item currently selected when you press arrow keys.
Here's the appropriate function starting at line 311 from
...\development-bundle\ui\jquery.ui.autocomplete.js
...
$.widget("ui.menu", {
_create: function() {
var self = this;
this.element
.addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
.attr({
role: "listbox",
"aria-activedescendant": "ui-active-menuitem"
})
.click(function(e) {
// temporary
e.preventDefault();
self.select();
});
this.refresh();
},
...
--
You received this message because you are subscribed to the Google Groups "jQuery Accessibility" group.
To post to this group, send email to jquer...@googlegroups.com.
To unsubscribe from this group, send email to jquery-a11y...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jquery-a11y?hl=en.