Question: You have a search bar on your site. You would like to use a `
- Assign an ARIA state of "hidden" to the label, like this: ` `
- Use the built-in WordPress CSS class .screen-reader-text to hide the text from screen, like this: ` `
- Create a custom CSS class to set a large negative value to the text-indent property to hide the text off screen, like this: ` `
- The majority of users do not require a screen reader. Remove the label entirely.
Answer: The correct answer of the above question is Option B:Use the built-in WordPress CSS class .screen-reader-text to hide the text from screen, like this: ` `