var HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_2_1_2_1 = {
    /**
     * Determines the elements to register for processing.
     *
     * Each element of the returned array can either be an element name, or "_top"
     * which is the top element of the tested code.
     *
     * @returns {Array} The list of elements.
     */
    register: function()
    {
        return ['_top'];

    },

    /**
     * Process the registered element.
     *
     * @param {DOMNode} element The element registered.
     * @param {DOMNode} top     The top element of the tested code.
     */
    process: function(element, top)
    {
        // Check for elements that could potentially contain audio or video.
        var mediaObjs = top.querySelectorAll('object, embed, applet, bgsound, audio, video');

        for (var i = 0; i < mediaObjs.length; i++) {
            var nodeName = mediaObjs.nodeName.toLowerCase();

            if (nodeName !== 'video') {
                HTMLCS.addMessage(HTMLCS.NOTICE, mediaObjs[i], 'If this embedded object contains pre-recorded audio only, and is not provided as an alternative for text content, check that an alternative text version is available.', 'G158');
            }

            if ((nodeName !== 'bgsound') && (nodeName !== 'audio')) {
                HTMLCS.addMessage(HTMLCS.NOTICE, mediaObjs[i], 'If this embedded object contains pre-recorded video only, and is not provided as an alternative for text content, check that an alternative text version is available, or an audio track is provided that presents equivalent information.', 'G159,G166');
            }
        }

    }
};

@@ -878,16 +878,19 @@
 ediaObjs
+%5Bi%5D
 .nodeNam

Fix JS error in 1.2.1, forgot to place an index on an array reference.