Archive index

A11y Slackers Gitter Channel Archive 1st of March 2016

What fresh hell is THIS now? - Patrick Lauke
  1. MichielBijl
    Mar 01 09:11
    Good morning slakcers
  2. MichielBijl
    Mar 01 09:11
    s/slakcers/slackers/
  3. jonathantneal
    Mar 01 12:39
    Good morning, @MichielBijl !
  4. MichielBijl
    Mar 01 12:39
    Morning Jonathan =)
  5. sophieschoice @sophieschoice waves
  6. MichielBijl @MichielBijl nots you can prefix messages with /me
  7. jasonday
    Mar 01 14:49
    morning
  8. sophieschoice
    Mar 01 15:41
    Hm, found something annoying on my site: I use capital i to indicate Roman numbers (eg. Queen Elizabeth II). But screenreaders of course don't see those two i's as Roman numbers....
  9. Can you use unicode for that @sophieschoice ?
  10. sophieschoice
    Mar 01 15:42
    Yup, that's the solution
  11. sophieschoice
    Mar 01 15:43
    did some googling. So brb converting a page or few on my site :P
  12. :+1:
  13. sophieschoice
    Mar 01 15:44
    it was just something that had me headdesking when testing with VoiceOver
  14. sophieschoice
    Mar 01 15:44
    "Oh, of course! Did I really expected something else?"
  15. MichielBijl
    Mar 01 15:47
    That's good to know
  16. sophieschoice
    Mar 01 15:48
    Yeah, it just so easy to use two or three capital i's. Because that's what you do when typing in MS Word.
  17. sophieschoice
    Mar 01 15:49
    But it isn't quite a good solution for HTML :P
  18. ryoia
    Mar 01 16:40
    ugh just when i thought i understood alert....
    so i have a <span> on the page when it loads, no text within yet. and when the user clicks a button, i put role="alert", aria-atomic="true" on that span element, as well as aria-invalid="true" to the parent element. but doesn't speak in ie10 for some reason using JAWS...
  19. jnurthen
    Mar 01 16:41
    put role="alert" on it when you create it. Then when you add the text it should get spoken
  20. ryoia
    Mar 01 16:42
    let me try that
  21. jnurthen
    Mar 01 16:42
    although if you are testing using JAWS17 and FF then live regions are currently borked
  22. jnurthen
    Mar 01 16:42
    ... but see you said IE
  23. ryoia
    Mar 01 16:42
    yeah FF works just fine
  24. jnurthen
    Mar 01 16:42
    so should be ok
  25. jnurthen
    Mar 01 16:42
    ahhh ok
  26. ryoia
    Mar 01 16:50
    weird thing is, there's another span (same level) that doesn't have role="alert", but that span got spoken after i click the button even though the alert role is the one i want.
  27. ryoia
    Mar 01 16:53
    i was wrong
  28. ryoia
    Mar 01 16:53
    that span did have text
  29. ryoia
    Mar 01 16:53
    as well as role="alert"
  30. ryoia
    Mar 01 16:54
    but the original text got replaced with another text when user clicks on the button
  31. ryoia
    Mar 01 16:54
    but then the original text got spoken not the new one
  32. jnurthen
    Mar 01 16:54
    do you have a testcase..... really hard to understand exactly what you are doing without it
  33. ryoia
    Mar 01 16:55
    sorry, sample code:
    <span role="alert">text here</span>
    this is on the page when it loads
  34. ryoia
    Mar 01 16:55
    then when the user clicks on a button, that changed to:
    <span role="alert">new text</span>
  35. ryoia
    Mar 01 16:55
    but JAWS still says "text here" instead of "new text"
  36. ryoia
    Mar 01 16:55
    does that make sense?
  37. MichielBijl
    Mar 01 16:56
    Why is there an alert when the page loads?
  38. MichielBijl
    Mar 01 16:57
    Does the user have to be notified of it?
  39. jnurthen
    Mar 01 16:57
    how are you setting it? InnerText, InnerHTML or removenode, create and add again
  40. ryoia
    Mar 01 16:57
    no, i used to not have an alert on the original tag, only when user clicks on the button i then put an alert on that tag
  41. ryoia
    Mar 01 16:57
    innerHTML
  42. jnurthen
    Mar 01 16:58
    try to remove the text node and add a new text node.... see if it helps. sometimes live regions act a bit weird
  43. MichielBijl
    Mar 01 16:58
    But that uses a type=text/template system
  44. MichielBijl
    Mar 01 16:59
    i.e. it just adds a node with role=alert to the page when it is needed.
  45. MichielBijl @MichielBijl remembers that he has to add different scenario's to that page.
  46. jnurthen
    Mar 01 17:00
    I've found alerts always work better cross browsers if you have the alert and add stuff to it
  47. ryoia
    Mar 01 17:00
    hmm let me try remove node and see
  48. stevefaulkner
    Mar 01 17:10
    @jnurthen do you anything about eloqua?
  49. stevefaulkner
    Mar 01 17:11
    also @jnurthen any thoughts on w3c/aria#275
  50. jnurthen
    Mar 01 17:12
    haven't come across eloqua much... I'll do some digging
  51. jnurthen
    Mar 01 17:13
    We talked about the issue in 275 yesterday.... I'll think about it a little more. I'm guessing child of body is too restrictive but i agree we need something more restrictive than we have today
  52. ryoia
    Mar 01 17:31
    hmm i removed childNode and created another node, set role = alert again, still says the old messages ugh
  53. jnurthen
    Mar 01 17:31
    can you provide a url?
  54. ryoia
    Mar 01 17:40
    one sec
  55. zakim-robot
    Mar 01 17:47
    [ryoia] hmm it didn't say the old text probably because there was no alert before the button is clicked
  56. powrsurg
    Mar 01 17:49
    do any video players actually have a keyboard command to turn on/off the captions?
  57. powrsurg
    Mar 01 17:50
    flowplayer, jwplayer, and videojs are the best I've seen, none seem to support it
  58. ryoia
    Mar 01 17:56
    oh i added role="alert" to the old text, now when i click, it says the old text instead of the new one
  59. ryoia
    Mar 01 17:56
    even though the new one also has alert role and i removed the old one already
  60. zakim-robot
    Mar 01 18:16
    [poorgeek] @powrsurg: there’s an open ticket on video.js to fix it. in the meantime I know that OzPlayer supports toggling caption by keyboard http://www.accessibilityoz.com/ozplayer/
  61. MichielBijl
    Mar 01 18:16
    Can't you simply change the contents of .child?
  62. zakim-robot
    Mar 01 18:21
    [ryoia] i changed the innerHTML on .child still speaks old content, then new content
  63. jnurthen
    Mar 01 18:37
    @ryoia why do you have 2 live regions - one as a child of the other?
  64. zakim-robot
    Mar 01 18:37
    [ryoia] you mean the div that has aria-live?
  65. jnurthen
    Mar 01 18:38
    yeah - you have a div with aria-live that has a child span with role=alert
  66. zakim-robot
    Mar 01 18:38
    [ryoia] yeah
  67. zakim-robot
    Mar 01 18:38
    [ryoia] i thought aria-live detects changes
  68. jnurthen
    Mar 01 18:38
    role=alert is essentially the same as aria-live=assertive
  69. jnurthen
    Mar 01 18:38
    it has an implicit live attribute
  70. zakim-robot
    Mar 01 18:38
    [ryoia] ah ok
  71. jnurthen
    Mar 01 18:39
    either get rid of the role alert or move it to the div
  72. jnurthen
    Mar 01 18:40
    however, what you have seems to work fine with IE11 and JAWS17 for me
  73. zakim-robot
    Mar 01 18:40
    [ryoia] what do you hear with IE11?
  74. jnurthen
    Mar 01 18:40
    i don't have IE10
  75. zakim-robot
    Mar 01 18:40
    [ryoia] i hear both old text and new text with IE10
  76. jnurthen
    Mar 01 18:41
    when i press the button it says "alert, new text"
  77. zakim-robot
    Mar 01 18:41
    [ryoia] whaaa
  78. zakim-robot
    Mar 01 18:41
    [ryoia] weird
  79. zakim-robot
    Mar 01 18:42
    [ryoia] jnurthen it worked!
  80. zakim-robot
    Mar 01 18:42
    [ryoia] i moved the role alert to the parent div (on my app) and now it speaks
  81. zakim-robot
    Mar 01 18:42
    [ryoia] thank you!
  82. jnurthen
    Mar 01 18:42
    great.... live regions are a bit tempramental
  83. zakim-robot
    Mar 01 18:43
    [ryoia] thank you all for your help. i was very frustrated..
  84. jnurthen
    Mar 01 18:43
    live regions do that.
  85. powrsurg
    Mar 01 18:59
    @poorgeek (sorry for the late reply). OzPlayer looks okay ... but can it handle HLS?
  86. MadLittleMods
    Mar 01 19:21
    I also ran into some really weird issues with live regions here on Gitter. I still haven't come up with a concrete solution that works with OSX VoiceOver: https://github.com/gitterHQ/gitter/issues/769#issuecomment-184318121
  87. jnurthen
    Mar 01 19:24
    the VO thing is a bug
  88. jnurthen
    Mar 01 19:24
    someone (I forget who) posted a testcase. I think @cookiecrook logged a bug but would have to check the logs
  89. MadLittleMods
    Mar 01 19:28
    :+1:, good to hear from others that it is a bug, I couldn't find any reports on the topic
  90. jnurthen
    Mar 01 19:29
    Not sure apple's bug tracker is public. I think @fstorr may have logged a bug too.
  91. jnurthen
    Mar 01 19:32
    Found the bug number @fstorr logged 24722294 . No idea what bug tracker that is in though!
  92. zakim-robot
    Mar 01 19:41
    [marcysutton] Yeah it is public
  93. zakim-robot
    Mar 01 19:41
    [marcysutton] https://bugs.webkit.org/
  94. MadLittleMods
    Mar 01 19:47
    @jnurthen Where did you find that report/issue id? I don't see it on the webkit bug tracker https://bugs.webkit.org/show_bug.cgi?id=24722294 - I am guessing it was a bug report on VoiceOver itself
  95. fstorr
    Mar 01 19:53
    @MadLittleMods @jnurthen yep, that was my test case and it was logged as a bug by @cookiecrook. I didn't get as far as trying to find a solution I'm afraid.
  96. zakim-robot
    Mar 01 20:45

    [joly] I'm just heading off to do this. This month's topic is color blindness.

    Event: http://www.meetup.com/a11ynyc/events/228925930/

    Stream: https://youtu.be/eE92Gsgrzik

  97. zakim-robot
    Mar 01 23:31
    [simong] Is anyone getting video on that stream?
  98. MichielBijl
    Mar 01 23:41
    Nope, nothing here
  99. MichielBijl
    Mar 01 23:47
    There is now