Archive index

A11y Slackers Gitter Channel Archive 8th of July 2016

What fresh hell is THIS now? - Patrick Lauke
  1. Job van Achterberg
    @jkva
    Jul 08 07:55
    Good morning Slackers
  2. @Michiel your example makes me sad
  3. zakim-robot
    @zakim-robot
    Jul 08 08:53
    [michiel] There are legitimate use cases for role=static though :)
  4. powrsurg
    @powrsurg
    Jul 08 13:25
    So how exactly does clicking the tab key bring a user to the next focusable item? I updated my game to work with the Gamepad API. I wanted the L1 and R1 buttons to function like shift+tab and tab events. I fired simulated keydown events that fired the tab key. I already had a listener for keydown events on certain button elements and I saw that the function actually fired for them, but it did not perform the normal tabbing/shift+tabbing action (and no, I didn't have preventDefault on).
  5. Should I fire a keypress event instead maybe?
  6. zakim-robot
    @zakim-robot
    Jul 08 14:46
    [michiel] I generally just set .focus() to the element
  7. [michiel] But am no JS expert.
  8. powrsurg
    @powrsurg
    Jul 08 14:55
    Well I literally just wanted them to act exactly like pressing the tab/shit+tab. I wanted the browser's default behavior when those keys are pressed to run and instead the browser is detecting that they were pressed but not doing the normal actions. My current situation requires me to programmatically detect the next focusable element and shift accordingly.
  9. zakim-robot
    @zakim-robot
    Jul 08 15:42
    [hmig] ICYMI - I did a write up on Accessible SVGs: https://css-tricks.com/accessible-svgs/
  10. zakim-robot
    @zakim-robot
    Jul 08 15:49
    [michiel] ++
  11. zakim-robot
    @zakim-robot
    Jul 08 15:57
    [hmig] @michiel: ty :)
  12. [michiel] Thank you for the write up :)
  13. [michiel] waits for sushi to arrive
  14. eagsalazar
    @eagsalazar
    Jul 08 18:19
    Hi, can someone point me at information regarding challenges, pros/cons of single page javascript applications with respect to accessibility? We're embarking on a website redesign and wondering how the SPA experience might affect accessibility and if it is even worth it.
  15. vs doing traditional navigation in which the page reloads
  16. Job van Achterberg
    @jkva
    Jul 08 18:23
    Apart from assuming the user has Javascript available (which they don't always have), you can make a SPA quite accessible, given you use proper HTML semantics, and using ARIA where this is not available.
  17. @eagsalazar props for asking =)
  18. zakim-robot
    @zakim-robot
    Jul 08 18:27
    [alexlande] The biggest issue I’ve run in to working on accessibility in SPAs is focus management when content changes. If a user searches for something, or loads a new “page”, devs often forget to set focus back on the page or otherwise notify screen reader users that something has happened
  19. [alexlande] So you might get a new set of content without indicating it. It’s not too bad to deal with, but something to be aware of. And in my experience teams may spend a lot of time arguing about the best ways to handle focus management for those cases (i.e. do we trigger focus on the new content, or do we focus on the entire document/root so that it acts more like a full page refresh? or do we have a live region that informs the user that things have changed?)
  20. Job van Achterberg
    @jkva
    Jul 08 18:35
    alexlande ++ agreed, focus handling, live regions
  21. zakim-robot
    @zakim-robot
    Jul 08 18:45
    [davidakennedy] eagsalazar: This presentation might help: https://vimeo.com/117614181 It covers a lot of the challenges those type of apps present.
  22. zakim-robot
    @zakim-robot
    Jul 08 19:04
    [jhausler] Is it me, or does installing Adobe Acrobat and MS Office Word on a Mac not allow me to generate accessible, tagged PDFs?
  23. [jhausler] always did on windows, but no options, no plug in.. nothing.
  24. [cyberthread] I was just dealing with this recently. You can set up everything on Mac in MS Word but have to make the PDF on a PC. frustrating
  25. zakim-robot
    @zakim-robot
    Jul 08 19:50
    [marcysutton] Here’s a related article on the Single Page App stuff: https://www.smashingmagazine.com/2015/05/client-rendered-accessibility/
  26. zakim-robot
    @zakim-robot
    Jul 08 20:17
    [jhausler] thanks @cyberthread. i wonder if there are tech limitations that cause that. @mattmay, do you have any insights? I used to fire up a VM to convert docx to PDF, but my weak macbook air can’t handle it anymore :)
  27. zakim-robot
    @zakim-robot
    Jul 08 20:34
    [jhausler] another question.. gmail and twitter show a keyboard shortcuts dialog when you press ? (shift + /). is that cool, or should another modifier be used such as alt+?