Spoiler blur not compatible with screen readers

Activate iOS VoiceOver, then navigate to a post containing spoiler blur, like this.

Swipe over to the text and have the screen reader read the text.

Actual: VoiceOver just reads the spoiler text, ignoring the spoiler blur.

Expected: It should have an ARIA role (button?) and an alternate ARIA reading, “read spoilers,” or something like that.

(Something similar happens in JAWS and NVDA.)


I don’t think there is anything in ARIA about spoilers, … I may be wrong. My understanding is that the closest we can do is implement something using detail and summary tags to get this going.

Open to switching our implementation.

Looks like there is reasonable amounts of flexibility to styling detail/summary however getting the width pre-calculated is probably not going to be feasible.

1 Like