[BLOCKED] Orca doesn't read some images title/alt in Firefox due to "invalid" state being exposed by Firefox
With the following snippet, Orca reads the second image, but not the first, although they both display fine, and have the same attributes but for their src
:
<html><body>
<p>Mon karma 1 <img src="data:image/gif;base64, R0lGODlhMgAyAIAAAAAAAMAAACH5BAAKAAAALAAAAAAyADIAAALJjI+py+0Po5wP0Dtt0LgnAG7eeIAmR2JnyIVptZqG/DrxjdYKHm+uXuLhgAjhkDgzrmZI5RHo7Kl8tGR0STlRW1ftxXILdlPh7dXDs57RzzG57H57zenacf2Cd+fZPT4C5hfVJ+hEWKiUgTgoscgIsUinxdcgqFaWBPgoifVlKCbEhvUDGqoitRCG6tm5Q9mqCFtUVdrBkuNKOosLqUGby2vF+gtcqdvr0xssEwxMvHssJtIoC018q0iVnOoSvU1IjVSkKV5uLl4AADs=" alt="Pour Morrigan 73,1%" title="Pour Morrigan 73,1%" height="15" width="15" border="1"/></p>
<p>Mon karma 2 <img src="data:image/gif;base64, R0lGODdhMgAyAIACAAAAAMAAACwAAAAAMgAyAAACyYyPqcvtD6OcD9A7bdC4JwBu3niAJkdiZ8iFabWahvw68Y3WCh5vrl7i4YAI4ZA4M65mSOUR6OypfLRkdEk5UVtX7cVyC3ZT4e3Vw7Oe0c8xuex+e83p2nH9gnfn2T0+AuYX1SfoRFiolIE4KLHICLFIp8XXIKhWlgT4KIn1ZSgmxIb1AxqqIrUQhurZuUPZqghbVFXawZLjSjqLC6lBm8trxfoLXKnb69MbLBMMTLx7LCbSKAtNfKtIlZzqEr1NSI1UpClebi5eAAA7" alt="Pour Morrigan 73,1%" title="Pour Morrigan 73,1%" height="15" width="15" border="1"/></p>
</body></html>
This is apparently due to Firefox reporting the state invalid
among the other ones on the first image, which leads to Orca ignoring the object. I'm not quite sure what's the right thing to do as it's unclear to me from the documentation what is the exact purpose of the state invalid
(which is different from defunct
), and as there is an invalid-entry
state; but in any case all versions of Firefox seem to do this (at least 52 and 60).
In this specific case at least, Orca could probably just accept this image with the invalid
state on it, as it's having all the good attributes otherwise.
Edited by Joanmarie Diggs