Comment 21 for bug 1187993

Revision history for this message
Mike Rylander (mrylander) wrote :

You know ... it looks like it might be possible via this.domNode in the openils.widget.AutoSuggest module. It inherits its constructor, though, so I'm not sure where to hook that in, but postMixInProperties is a likely candidate. Anyone feel like attempting to use this patch?

diff --git a/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js b/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
index 8192751..41ad846 100644
--- a/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
+++ b/Open-ILS/web/js/dojo/openils/widget/AutoSuggest.js
@@ -134,6 +134,8 @@ if (!dojo._hasResource["openils.widget.AutoSuggest"]) {
             "postMixInProperties": function() {
                 this.inherited(arguments);

+ this.domNode.setAttribute('aria-hidden','true');
+
                 if (typeof this.submitter == "string")
                     this.submitter = dojo.hitch(this, this.submitter);

---------------------

My next attempt would be to move that new line down into postCreate.