What fresh hell is THIS now? - Patrick Lauke
[joe-watkins] @powrsurg If you are hiding the content that you are ‘revealing’ from AT (display:none;’
) you may consider using <a href=”#unique-id-of-element-to-be-revealed”><img></a>
`<figcaption tabindex=”-1”>.. This would send focus to that content for AT and thinking w/Progressive Enhancement in mind work without JavaScript.
With offscreen navs - accordions etc I lean <a>
because AT focus is going to need to be sent there (much like visual focus). Of course it all depends on how you wanna mark things up, and all UI’s/Situations are different,.. but I’ve found when authoring markup with Progressive Enhancement in mind <button>
usage drops.
Again,.. every situation is different but a fragment identifier in an <a>
just works. I do believe markup requirements for <figure>\
loosen up a bit in HTML 5.2 spec.