SVG images gaining focus and locking focus
SVG images appear to be gaining focus when tabbing through objects on the screen when publishing to HTML5 in the latest version of Chrome. This is quite problematic because once focus is on an SVG object, you cannot tab off the SVG image. Oddly enough, I am not seeing the selection rectangle on the SVG image.
How to replicate:
1. Insert SVG image in Captivate slide and publish the file to HTML5
2. View published file in Chrome (I am using Version 59.0.3071.115 (Official Build) (64-bit)).
3. Go to the slide that contains the SVG image and tab. You will notice that if you tab onto the screen, you will not be able to continue tabbing once the svg image is tabbed upon (Incidentally, you don't see the selection rectangle on the svg image by default, but if you add the code into the published css file found at: Maintaining Keyboard Focus – Accessibility Tip | eLearning the selection rectangle becomes visible around the SVG image).
This is quite problematic because Chrome has been one of our best browsers for accessibility. Being unable to tab has rendered the elearning almost useless for those using Chrome.
Does anyone have any idea on how to work around this issue? The following solutions have been attempted but do not really solve the issue:
- Convert image from SVG to PNG - this is not suitable because the PNG.
- Result: the png is not scalable and becomes degraded . PNG's also increase the size of the image and Captivate file.
- Adding javascript and setting the tabindex of the image to -1.
- This has been tested but does not work.
