jstillings1 Posted October 8, 2018 Share Posted October 8, 2018 Does anyone have a modded custom.js file for the ADA fails of empty label on the qty spinners? http://prntscr.com/l3d5cp Help from checker is Documentation Errors Empty button What It Means A button is empty or has no value text. Why It Matters When navigating to a button, descriptive text must be presented to screen reader users to indicate the function of the button. How to Fix It Place text content within the <button> element or give the <input> element a value attribute. The Algorithm... in English A <button> element is present that contains no text content (or alternative text), or an <input type="submit">, <input type="button">, or <input type="reset"> has an empty or missing value attribute. Standards and Guidelines 1.1.1 Non-text Content (Level A) 2.4.4 Link Purpose (In Context) (Level A) I dug into it but it seems to hook things in a way that I don't grasp calling T.buttondown_txt that looks to be null This is the function in Classic theme.js that I think is producing the error. function d(e) { e.addClass("bootstrap-touchspin"); var n, i, r = L.prev(), o = L.next(), a = '<span class="input-group-addon bootstrap-touchspin-prefix">' + T.prefix + "</span>", s = '<span class="input-group-addon bootstrap-touchspin-postfix">' + T.postfix + "</span>"; r.hasClass("input-group-btn") ? (n = '<button class="' + T.buttondown_class + ' bootstrap-touchspin-down" type="button">' + T.buttondown_txt + "</button>", r.append(n)) : (n = '<span class="input-group-btn"><button class="' + T.buttondown_class + ' bootstrap-touchspin-down" type="button">' + T.buttondown_txt + "</button></span>", t(n).insertBefore(L)), o.hasClass("input-group-btn") ? (i = '<button class="' + T.buttonup_class + ' bootstrap-touchspin-up" type="button">' + T.buttonup_txt + "</button>", o.prepend(i)) : (i = '<span class="input-group-btn"><button class="' + T.buttonup_class + ' bootstrap-touchspin-up" type="button">' + T.buttonup_txt + "</button></span>", t(i).insertAfter(L)), t(a).insertBefore(L), t(s).insertAfter(L), A = e } Link to comment Share on other sites More sharing options...
jstillings1 Posted October 8, 2018 Author Share Posted October 8, 2018 https://www.access-board.gov/guidelines-and-standards/communications-and-it/about-the-ict-refresh If you are unaware what I speak of Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now