Describe the bug
Antispam Bee is adding a honeypot textarea to the comment form with a tabindex="-1", but the JS from WP Accessibility is removing it.
To Reproduce
Steps to reproduce the behavior:
- Install Antispam Bee
- Install WP Accessibility
- Enable the feature to remove
tabindex from focusable elements (if not enabled by default)
- Visit a post with open comments
- Tab through the page and see that now you can focus the hidden honeypot.
Expected behavior
The tabindex shouldn't be removed.
Maybe you could add a check if the element has aria-hidden="true"?
Additional context
pluginkollektiv/antispam-bee#696
Describe the bug
Antispam Bee is adding a honeypot textarea to the comment form with a
tabindex="-1", but the JS from WP Accessibility is removing it.To Reproduce
Steps to reproduce the behavior:
tabindexfrom focusable elements (if not enabled by default)Expected behavior
The
tabindexshouldn't be removed.Maybe you could add a check if the element has
aria-hidden="true"?Additional context
pluginkollektiv/antispam-bee#696