Purpose of aria-hidden="true" in newsletter subscribe button?

Hey all, a friend had an accessibility concern with my blog.

What is the purpose of the aria-hidden=“true” attribute on the Newsletter Subscribe button? Would it mean that someone accessing my blog with a screen reader wouldn’t have access to the feature?

I’m not a web design expert and I might be missing something painfully obvious here.

Hey! This is actually on purpose, and shouldn’t be on the Subscribe button itself. It contains a fake field meant to trick robots that scan the web and fill in forms like this. The aria-hidden attribute is meant to hide it so people on screen readers don’t accidentally fill it in, but robots still can.

Hope that clears things up – please let me know if you still have any questions!

2 Likes

Makes sense, thanks Matt!