accessifyhtml5.js
accessifyhtml5.js copied to clipboard
Doesn't respect manually entered roles
I use this library so I don't have to worry about the default roles but sometimes I happen to want to add a different role to some markup and noticed that if I add it to one of the tags your script supports that it gets overwritten by the script. I'm using the jQuery version and just added +':not([role])' after the selector. I don't know if it's the best way but it works. Thanks for the handy script.
Hi Jimmy,
sorry for responding so late. Will add that feature to the jquery and vanillajs version asap.
Eric