Archive index

A11y Slackers Gitter Channel Archive 12th of August 2016

What fresh hell is THIS now? - Patrick Lauke
  1. zakim-robot
    @zakim-robot
    Aug 12 00:17
    [caesar] I thought this was something simple and straightforward, but it's driving me nuts!
  2. zakim-robot
    @zakim-robot
    Aug 12 05:47
    [caesar] As laudable as their efforts are, it's just ripe for an internet meme-worthy failure similar to Youtube auto captions. Just waiting to see what the first one is going to be, and who it offends...
  3. Job van Achterberg
    @jkva
    Aug 12 12:00
    Quiet here today
  4. James Nurthen
    @jnurthen
    Aug 12 12:03
    Yep. I was hoping for entertainment while waiting for my flight.
  5. Job van Achterberg
    @jkva
    Aug 12 12:05
    Safe travels! It was lots of fun hanging out :)
  6. James Nurthen
    @jnurthen
    Aug 12 12:07
    Thanks again for coming to meet us in Amsterdam.
  7. Job van Achterberg
    @jkva
    Aug 12 12:08
    It was my pleasure! Even got to meet other random people in the process :P
  8. Mallory
    @StommePoes
    Aug 12 13:15
    hehe
  9. James Nurthen
    @jnurthen
    Aug 12 13:16
    Ah yeah. Going silent for 11 hours as the plane is taking off.
  10. Mallory
    @StommePoes
    Aug 12 13:21
    Sina just keeps his phone on anyway
  11. and tweets from the sky
  12. zakim-robot
    @zakim-robot
    Aug 12 14:23
    [simong] Does anyone know whether you can use axe-core straight from nodejs? It has some references to Node and NodeList to it in its source, so I’m doubtful, but it would simplify a few things on our end if it were possible
  13. Job van Achterberg
    @jkva
    Aug 12 14:23
    @simong: Those are Nodes and NodeList in the context of the browser DOM. I doubt it's usable from Node.
  14. By which I mean NodeJS :P
  15. @simong You can use https://github.com/poorgeek/tenon-node to interface with Tenon.io's API via NodeJS, in any case
  16. Mallory
    @StommePoes
    Aug 12 14:25
    if it opens phantom or something tho... then it could
  17. zakim-robot
    @zakim-robot
    Aug 12 14:25
    [simong] Right, I get that, I was hoping those could maybe stubbed out through jsdom but I hadn’t explored that far
  18. [simong] yeah, phantom is what we’ll end up rolling with
  19. zakim-robot
    @zakim-robot
    Aug 12 16:20
    [marcysutton] @simong yes you can but you need a document reference
  20. [marcysutton] which is another way of saying that you need an attached, rendered DOM
  21. [marcysutton] That can be from Phantom, jsdom, selenium or similar....If you need any help let me know!
  22. zakim-robot
    @zakim-robot
    Aug 12 16:33
    [simong] @marcysutton: Thanks! I’ve got it working under phantomjs, but it’s a bit slow. When I go through jsdom, it’s complaining on instanceof Node or instanceof NodeList which makes sense, as these aren’t globally available in node
  23. [marcysutton] Oh interesting
  24. [marcysutton] I'll have to take a look at that, I bet there's a way we could make it work in the library
  25. [marcysutton] I just did a talk about different contexts in testing, including working with window and document in Node
  26. [simong] Oh, but they’re part of what jsdom returns though, give me a second, I think this could work
  27. zakim-robot
    @zakim-robot
    Aug 12 16:44
    [simong] Well, doing this gets me a bit further:
    jsdom.env(html, function(err, window) {     GLOBAL.Node = window.Node;     GLOBAL.NodeList = window.NodeList;     axe.a11yCheck(window, function() {     }); });
    
  28. zakim-robot
    @zakim-robot
    Aug 12 17:00
    [marcysutton] sweet!
  29. zakim-robot
    @zakim-robot
    Aug 12 17:05
    [marcysutton] did you hit any errors after that?
  30. zakim-robot
    @zakim-robot
    Aug 12 20:04
    [emplums] sorry for all the questions! I have a user writing in about not being able to tell if some elements on the page are selected or not with VoiceOver. Previously there was no way of knowing if something was selected or not via VoiceOver, so I added an aria-selected attribute. But while testing it I’m noticing that VoiceOver doesn’t read the attribute, is that expected? Is this because it’s a button and not an input so some other element that one would expect to have selected/unselected state?
  31. [marcysutton] aria-selected only works on certain elements, including radio buttons, tabs, options and grid cells but not buttons. Any time I use an ARIA attribute I'm not sure about, I always refer to the ARIA spec: https://www.w3.org/TR/wai-aria/states_and_properties#aria-selected
  32. zakim-robot
    @zakim-robot
    Aug 12 20:13
    [emplums] ahh cool! Thank you! =D
  33. zakim-robot
    @zakim-robot
    Aug 12 20:25
    [marcysutton] @emplums: we are sort-of missing a "currently selected" attribute for links, this might be a good read for you http://www.heydonworks.com/article/the-accessible-current-page-link-conundrum
  34. zakim-robot
    @zakim-robot
    Aug 12 22:25
    [rustle] Anybody know why twitter adds a second “tempTextArea” when you’re deleting characters in a post?
  35. zakim-robot
    @zakim-robot
    Aug 12 22:41
    [monastic.panic] hi team. Is it enough to wrap a label around a checkbox and text?
  36. zakim-robot
    @zakim-robot
    Aug 12 23:08
    [marcysutton] @simong: I just ran into the same problem! Going to look into it further and try to fix it in the source.
  37. zakim-robot
    @zakim-robot
    Aug 12 23:28
    [emplums] Just chatted with one of our blind users on the phone for 30 minutes, very moving to speak with actual users <3