Fixed Inline spoiler & screen readers

Xon

Well-known member
Affected version
2.2.7 Patch 1
The [ispoiler] bb-code interacts poorly with screen readers, as it is a span without any indicators it has content under it for the reader to interact with.

Experimentation shows that tabindex="0" role="button" helps a number of screen reader extensions understand there is something there to be interacted with and to show the spoiler.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.9).

Change log:
Improve accessibility of inline spoilers.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top