To get the best 508 tips and advice… search for posts from Jason Dalrymple ( https://community.trivantis.com/members/jasonadal/ ) He for sure works most with accessibility of all users around here and i do think around his posts and questions you will find the best tips on 508…
Thank Tea, Darrel and Matt (on the other post) for the time you gave to resolve my issues. Darrel: no apologies. When I didn’t find your jQuery, I used the one that was attached in your early post. Perhaps this was the cause of the blank page. I’ll try the one you sent me yesterday and will come back to you.
Tea, if I check “initially hidden” property for the button that I want to hide from the screen reader, will that hide the button from the devices? If it works, I can check “initially hidden” and “show” the button when the page loads. What do you think?
Thank you much, your formula worked perfectly and the button was hidden. However, it was hidden totally from the screen. I was trying to hide it only from screen readers. So far, I can’t figure it out, but I’m glad I learned your formula, thank you.
That is a great idea! The button would not be read if it is initially hidden and then shown via an action. You may need a short delay on this show action, maybe add a 0.5 second delay.
In the future this will not be the case, so make sure you set the “Empty ALT Tag” property. Later this year the screen readers will read text, buttons, images, etc that are shown via actions (if they don’t have the “Empty ALT Tag” property set). Screen readers will read the shown text because we are changing our code to notify screen readers when this happens, it will be in the next release.
Therese, are you sure you do not also have the initially hidden option selected. I know you are trying a lot of different things. The aria-hidden attribute should only hide the button from screen readers. Joe, above, is talking about token replacement, another great idea.
Joe, thanks a lot for the new method. I removed the JQuery and used your JS on the button, however, it gave me a blank page. Quick clarification, later in the year, will the readers completely skip the buttons that has “Empty ALT tag” set; or will they read the HTML name as it’s currently happening?
Darrel: My bad, thanks a lot, you’re right! I’d “initially hidden” set. Now that I unchecked it, yes, I can see the button.
I’ll send the project to the 508 team and we’ll see if it works fine with them. I’ll come back to you.