Explore the community Forums Lectora Inspire Tools Questions & Answers How to Change HTML name for Objects Reply To: How to Change HTML name for Objects

#420015 Score: 0
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

Yes, you can use aria-hidden. You would add it using the same method I explained above to add the aria-label.

$(‘#button123’).attr(‘aria-hidden’,’true’);

This will hide the element from screen readers but leave it visible for sighted users.

  • This reply was modified 1 year, 6 months ago by Profile photo of Darrel Somoza Darrel Somoza. Reason: printed out html tags
  • This reply was modified 1 year, 6 months ago by Profile photo of Darrel Somoza Darrel Somoza. Reason: whats going on?