How to use the ariatemplates/utils/Dom.getElementsByClassName function in ariatemplates

To help you get started, we’ve selected a few ariatemplates examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ariatemplates / ariatemplates / test / aria / utils / domNavigationManager / DomNavigationManagerRobotTestCase.js View on Github external
this._currentNode = node;

            // -----------------------------------------------------------------

            this._showOthersBack = DomNavigationManager.hidingManager.hideOthers(node);
            node.className += ' isolated';

            // -----------------------------------------------------------------

            var interceptor = DomNavigationManager.ElementNavigationInterceptor(node, loop);
            this._currentInterceptor = interceptor;
            interceptor.ensureElements();

            // -----------------------------------------------------------------

            var nodeName = ariaUtilsDom.getElementsByClassName(node, 'node_name')[0];
            this._focusElement(next, nodeName);
        },
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / Base.js View on Github external
condition : function () {
                    var popup = widget._dropdownPopup;
                    return popup && ariaUtilsDom.getElementsByClassName(popup.domElement, idInPopup).length > 0;
                },
                callback : cb
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / RobotBase.js View on Github external
this.waitForPopup(widget, idInPopup, function () {
                var elements = ariaUtilsDom.getElementsByClassName(widget._dropdownPopup.domElement, idInPopup);
                this.synEvent.click(elements[0], cb);
            });
        },
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / RobotBase.js View on Github external
condition : function () {
                    var popup = widget._dropdownPopup;
                    return popup && ariaUtilsDom.getElementsByClassName(popup.domElement, idInPopup).length > 0;
                },
                callback : cb
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / RobotBase.js View on Github external
clickOnWidgetIcon : function (widget, cb) {
            var icon = ariaUtilsDom.getElementsByClassName(widget.getDom(), "xICNdropdown")[0];
            this.synEvent.click(icon, cb);
        },
github ariatemplates / ariatemplates / test / aria / widgets / calendar / rangeCalendar / CalendarRobotBase.js View on Github external
getAllDatesDomElt : function () {
            var calendar = this.getTestedCalendar();
            var calendarDomElt = calendar.getDom();
            return domUtils.getElementsByClassName(calendarDomElt, "xCalendar_std_day");
        },
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / Base.js View on Github external
this.waitForPopup(widget, idInPopup, function () {
                var elements = ariaUtilsDom.getElementsByClassName(widget._dropdownPopup.domElement, idInPopup);
                this.synEvent.click(elements[0], cb);
            });
        },
github ariatemplates / ariatemplates / test / aria / widgets / dropdown / touchDevices / Base.js View on Github external
clickOnWidgetIcon : function (widget, cb) {
            var icon = ariaUtilsDom.getElementsByClassName(widget.getDom(), "xICNdropdown")[0];
            this.synEvent.click(icon, cb);
        },
github ariatemplates / ariatemplates / test / aria / utils / domNavigationManager / DomNavigationManagerJawsTestCase.js View on Github external
_getNodeNameElement : function (node) {
            return ariaUtilsDom.getElementsByClassName(node, 'node_name')[0];
        },