Archive index

A11y Slackers Gitter Channel Archive 24th of June 2016

What fresh hell is THIS now? - Patrick Lauke
  1. zakim-robot
    @zakim-robot
    Jun 24 08:22
    [michiel] Dark day for accessibility in the UK.
  2. luis garcia
    @garcialo
    Jun 24 08:23
    How is that?
  3. zakim-robot
    @zakim-robot
    Jun 24 08:24
    [michiel] They're leaving the EU.
  4. [michiel] EU has lots of good laws for persons with disabilities :)
  5. luis garcia
    @garcialo
    Jun 24 08:24
    Ah, gotcha.
  6. zakim-robot
    @zakim-robot
    Jun 24 08:24
    [michiel] It's getting more on the 14th of July.
  7. [michiel] And for now, the UK has to still implement those.
  8. luis garcia
    @garcialo
    Jun 24 08:24
    I was thinking it was something specific to a11y that had happene
  9. happened*
  10. zakim-robot
    @zakim-robot
    Jun 24 08:24
    [michiel] Just, y'know, that's going to change.
  11. luis garcia
    @garcialo
    Jun 24 08:24
    Yeah
  12. Okay, sleep time for me. Nighty
  13. zakim-robot
    @zakim-robot
    Jun 24 08:29
    [michiel] Night night
  14. Job van Achterberg
    @jkva
    Jun 24 08:29
    Sleep well @garcialo
  15. zakim-robot
    @zakim-robot
    Jun 24 08:33
    [michiel] has added a new todo to his list of things after I move to the UK: #Leave
  16. Job van Achterberg
    @jkva
    Jun 24 08:37
    Just move to Cornwall]
  17. zakim-robot
    @zakim-robot
    Jun 24 08:44
    [michiel] I must follow my precious :P
  18. Job van Achterberg
    @jkva
    Jun 24 08:45
    She's French, and you know how the UK feels about foreigners at the moment.
  19. Mallory
    @StommePoes
    Jun 24 08:47
    @kylegach even the blind can benefit from show-password, you ought to be able to letter-by-letter check that you typed in what you thought you typed in. Not sure how you do that with input type=password though. What are you using for the input?
  20. zakim-robot
    @zakim-robot
    Jun 24 09:02
    [jakecross] Morning all! I have a span that is being picked up by the screen reader... and I would like it to be ignored. I've gone through the rules I know and set aria-hidden to true, role to presentation and an empty alt tag for safe measure... SuperNova is still reading the span :S
  21. [michiel] StommePoes: set it to type=text…
  22. [michiel] What is in the span?
  23. zakim-robot
    @zakim-robot
    Jun 24 09:09
    [michiel] Okay, first off puts alt tag specialist hat on, the alt doesn't have an affect if it's not on an img element.
  24. [michiel] Even with role=img, it won't have an effect.
  25. Job van Achterberg
    @jkva
    Jun 24 09:09
    tag?!
  26. zakim-robot
    @zakim-robot
    Jun 24 09:09
    [michiel] Crap
  27. [michiel] -.-
  28. jkva @jkva puts on asshole hat
  29. zakim-robot
    @zakim-robot
    Jun 24 09:09
    [michiel] gets more coffee
  30. [michiel] rewinds
  31. Job van Achterberg
    @jkva
    Jun 24 09:10
    I shudder to think what an asshole hat would look like
  32. zakim-robot
    @zakim-robot
    Jun 24 09:10
    [michiel] Okay, first off puts alt attribute specialist hat on, the alt attribute doesn't affect elements other than the img element.
  33. [michiel] You have to be narrow minded to wear it Job ;)
  34. [jakecross] I had that feeling, but added it as a "well role and aria-hidden aren't working... let's add more!"
  35. [michiel] jakecross: could you post actual output? I'm interested to what {{prop.ThisGetsRead}} turns into.
  36. [michiel] “More boosters!”—Scott Manley
  37. [michiel] I'll try to go through the code bit by bit :)
  38. [michiel] 100101110100111101010101011101000
  39. [michiel] :D
  40. zakim-robot
    @zakim-robot
    Jun 24 09:16
  41. [michiel] I do have some questions first: what is the purpose of the link (as it has an empty href attribute).
  42. [jakecross] That is with alt removed from the markup
  43. [michiel] Maybe that gets populated by Angular, still, what is the purpose of the thing?
  44. [michiel] The a element that is.
  45. [michiel] (with class of home)
  46. [jakecross] Hard for me to say. I am working through checking what "bonkers" things happen with another teams application when using SuperNova

    It may be something they will populate later when it goes to the client... or it may be incorrect. If you think it could be causing the issue, I will certainly ask them.

  47. [michiel] Okay, then I'll try to just go through the code.
  48. [michiel] First off, role=presentation basically removes an elements semantics. So that anchor, is now no longer a link, it's essentially a div.
  49. [michiel] aria-hidden=true removes it from the accessibility tree; any AT should ignore it. Why you would want to remove a link AT is beyond me (not that it is really link, but y'know).
  50. [michiel] As said the alt attribute on the link does nothing.
  51. [michiel] The title attribute is not read because the thing has aria-hidden on it.
  52. [michiel] Same goes for the img that is inside the anchor.
  53. [michiel] That image is no longer an image as far as UA is concerned, it has role=presentation
  54. [michiel] It's also hidden because of aria-hidden.
  55. [michiel] Which is all moot because an empty alt will hide it from AT too.
  56. zakim-robot
    @zakim-robot
    Jun 24 09:21
    [michiel] As for the span, a span has no semantics; role=presentation is meaningless here.
  57. [michiel] alt attribute doesn't do anything.
  58. [michiel] aria-hidden of true should hide it from AT (that have that implemented anyway)
  59. [michiel] Does that make sense?
  60. [jakecross] I have (as you have been typing) removed all the redundant markup and the parts that were working as I wanted, continue to do so - so thanks for that! :)

    That span is still being read with any combination of "things" I have tried to get it to be hidden. It may be something that SuperNova doesn't care about and reads it anyway... so that may take some looking in to.

  61. [jakecross] But yes, that makes sense, thanks
  62. [michiel] Well, my ultimate point is, why must the span be hidden?
  63. [michiel] Does it have visible text in it?
  64. [michiel] If it has visible text it should bread, no?
  65. [jakecross] Do you know what... that is something I haven't questioned but you are spot on. The link does appear... later.

    At this point, it's in the markup but not visible to the user (who can see the screen)

  66. [jakecross] It becomes visible later when the ng-view changes.
  67. zakim-robot
    @zakim-robot
    Jun 24 09:26
    [michiel] Okay, well, than it should have display: none; or visibility: hiddden;
  68. [michiel] That will hide it from the browser and AT.
  69. [michiel] :)
  70. [jakecross] I guess they don't want t a link to "home" to be there, when the user is on the home "page" already.
  71. [jakecross] got it!
  72. [jakecross] I will tell them to change that as it will more than likely involve some dynamic changes based on their angular gubbins
  73. [michiel] Ah, if that's the case, you might want to read up on heydon's excellent article here: http://www.heydonworks.com/article/the-accessible-current-page-link-conundrum
  74. [michiel] If you're not sick of the subject after that you could follow it with my reply article: http://www.michielbijl.nl/2014/09/23/the-current-page-conundrum/#main
  75. [jakecross] This is all quite interesting stuff!

    I'm usually working on NodeJS so this front end stuff is all a little crazy to me. Interesting... but crazy.

  76. [michiel] Hehe, I think jkva can relate ;)
  77. [jakecross] I think he's been engulfed by his asshole hat :|
  78. zakim-robot
    @zakim-robot
    Jun 24 09:31
    [michiel] Haha
  79. [heydon] Thanks, Michiel. I recommend turning the ‘current’ page link into a same-page link, pointed to the <main id=“main”>, like <a href=“\#main”>this page</a>. This triggers AT to announce “this page, same page link” so the user gets a skip mechanism and info that tells them the link goes inside the current page.
  80. [michiel] That's a good one. It's been a while since I read it, is that final outcome of the article? Or did you put that in a follow up?
  81. Job van Achterberg
    @jkva
    Jun 24 09:35
    NodeJS? I can't relate at all :P
  82. zakim-robot
    @zakim-robot
    Jun 24 09:35
    [jakecross] AttributeJS?
  83. Job van Achterberg
    @jkva
    Jun 24 09:35
    Haven't written Node in a couple of years
  84. zakim-robot
    @zakim-robot
    Jun 24 09:36
    [jakecross] I am looking into Elixir now. It just "feels right" to me, but it's early days.
  85. Job van Achterberg
    @jkva
    Jun 24 09:36
    @jakecross: have you played with phoenix?
  86. I have some Perl code for you if you want ti
  87. zakim-robot
    @zakim-robot
    Jun 24 09:36
    [jakecross] Still on Elixir. I have the pragmatic bookshelf book on Phoenix ready to go though
  88. Job van Achterberg
    @jkva
    Jun 24 09:37
    Nice
  89. zakim-robot
    @zakim-robot
    Jun 24 09:37
    [michiel] jkva: I meant programming to front-end ;)
  90. [jakecross] I will work through "Programming Elixir" and then have to choose between Phoenix and Meta-programming in Elixir
  91. Job van Achterberg
    @jkva
    Jun 24 09:39
    I attended an Elixir meetup a while ago, was quite impressed. I've used Erlang but Elixir seems a nice subset for getting things done
  92. Peter Krautzberger
    @pkra
    Jun 24 09:49
    Hey, I'm looking for some design inspiration. Does anybody know a good example of accessible footnote markers, especially with an eye on mobile. The Print-style superscript approach makes things rather small and poor for tapping so I'm wondering if anyone has seen design examples that don't look too wild but are more accessible.
  93. Job van Achterberg
    @jkva
    Jun 24 09:53
    @pkra here's a nice article by Hugo, https://www.sitepoint.com/accessible-footnotes-css/ I would just make them larger on smaller viewports
  94. So visually you still know it's a footnote, just easier to hit
  95. Peter Krautzberger
    @pkra
    Jun 24 09:53
    Thanks @jkva. I should've mentioned that article.
  96. Job van Achterberg
    @jkva
    Jun 24 09:53
    Ah, you saw it then =)
  97. Peter Krautzberger
    @pkra
    Jun 24 09:54
    :)
  98. yes.
  99. I don't like the superscript style. And sup's are hard to tweak, generally speaking (ever noticed how there's no css-sup/superscript? I mean we even have display:table etc.)
  100. Anyway.
  101. zakim-robot
    @zakim-robot
    Jun 24 09:55
    [michiel] +1 to Hugo's solution
  102. Peter Krautzberger
    @pkra
    Jun 24 09:56
    Also, I'm not worried about the accessibility of the footnote linking (where Hugo's is great).
  103. That's completely separate in my case anyway.
  104. Just the visual side of those links.
  105. Job van Achterberg
    @jkva
    Jun 24 09:57
    @pkra You're not forced to use superscript, you can just make them a span and style them however you want
  106. Peter Krautzberger
    @pkra
    Jun 24 09:57
    Tell my clients that ;-)
  107. Job van Achterberg
    @jkva
    Jun 24 09:57
    I would make them at least as large as the text itself, perhaps even a bit bigger
  108. Ah, this is for clients. Woops.
  109. zakim-robot
    @zakim-robot
    Jun 24 09:57
    [michiel] pkra: how do you mean no style for superscript? http://codepen.io/anon/pen/zBNBmq
  110. Peter Krautzberger
    @pkra
    Jun 24 09:58
    :D
  111. Job van Achterberg
    @jkva
    Jun 24 09:58
    Are they British clients? ;)
  112. zakim-robot
    @zakim-robot
    Jun 24 09:58
    [michiel] <br>exit?
  113. Peter Krautzberger
    @pkra
    Jun 24 09:58
    @michiel: yes. but that's about it. You can't control placement beyond this.
  114. hehe. No.
  115. zakim-robot
    @zakim-robot
    Jun 24 09:58
    [michiel] Meh, fair enough.
  116. Peter Krautzberger
    @pkra
    Jun 24 10:01
    Thanks, folks. I guess I actually have to think for myself then :D
  117. zakim-robot
    @zakim-robot
    Jun 24 10:01
    [michiel] Sorry, bit brain dead this morning.
  118. Peter Krautzberger
    @pkra
    Jun 24 10:02
    :)
  119. I hear NLexit is next?
  120. Job van Achterberg
    @jkva
    Jun 24 10:03
    Never!
  121. That would be the most braindead thing to do
  122. Peter Krautzberger
    @pkra
    Jun 24 10:06
    Let's start a new initiative: Reunification of Francia! https://en.wikipedia.org/wiki/Francia
  123. Job van Achterberg
    @jkva
    Jun 24 10:07
    Nah, just need another Battle of Medway to get the Brits to fall in line
  124. Peter Krautzberger
    @pkra
    Jun 24 10:10
    Well, let's see how the Euro goes.
  125. (football that is)
  126. Job van Achterberg
    @jkva
    Jun 24 10:12
    :(
  127. zakim-robot
    @zakim-robot
    Jun 24 10:16
    [jakecross] Living in my own little world, where everyone is Slack is also British
  128. [jakecross] Hooligans and/or poor play will do that for us.
  129. Mallory
    @StommePoes
    Jun 24 11:05
    A united Ireland would be epic.
  130. zakim-robot
    @zakim-robot
    Jun 24 11:15
    [michiel] As Jimmy Carr ones put it: “I believe in one island!”
  131. [michiel] …“Under British rule…”
  132. Mallory
    @StommePoes
    Jun 24 13:27
    @powrsurg so Sina said you can change the volumes of the aria-live captions vs the video for if you want to hear them more than the video sounds
  133. powrsurg
    @powrsurg
    Jun 24 13:28
    Say what?
  134. powrsurg
    @powrsurg
    Jun 24 13:40
    With the video player we have the captions are created via JS in a div with aria-live="assertive" and aria-atomic="true". VO and NVDA do not currently read them out. When we had a parent div for the entire video to also have aria-live="assertive" VO stuttered when trying to read it.
  135. luis garcia
    @garcialo
    Jun 24 15:21
    Does anyone (cough cough @stevefaulkner) know how to use the Colour Contrast Analyser color picker on Mac OS using only keyboard?
  136. stevefaulkner
    @stevefaulkner
    Jun 24 15:22
    I have no idea. Will ask Cedric who built it :-)
  137. luis garcia
    @garcialo
    Jun 24 15:22
    You're supposed to know everything.
  138. Never meet your heroes.
  139. powrsurg
    @powrsurg
    Jun 24 15:49
    http://codepen.io/sethabbott/pen/FtuLz So besides the color contrast, using links for buttons, and the animation potentially making people sick, are there any other a11y issues with this?
  140. and a screen reader reading the spinner's text with the link ...
  141. powrsurg
    @powrsurg
    Jun 24 15:55
    and tabbing not making it activate the spin ...
  142. zakim-robot
    @zakim-robot
    Jun 24 16:06
    [michiel] garcialo: enable mouse keys to move mouse with keyboard.
  143. [michiel] All the other stuff is built with default OS X controls. And can be reacher with the tab key.
  144. luis garcia
    @garcialo
    Jun 24 16:06
    Seriously? :( That's unfortunate.
  145. zakim-robot
    @zakim-robot
    Jun 24 16:06
    [michiel] If you find that you can't reach them, then maybe you need to enable “All controls” in the keyboard settings.
  146. [michiel] Well, the picker is bind to the mouse as far as I know.
  147. [michiel] You can enable an option to toggle mouse keys by pressing option five times.
  148. [michiel] That should make it easier :)
  149. James Nurthen
    @jnurthen
    Jun 24 16:39
    /me this is so not a good day - finding it really hard to concentrate on work
  150. zakim-robot
    @zakim-robot
    Jun 24 16:41
    [michiel] Same here.
  151. James Nurthen
    @jnurthen
    Jun 24 16:43
    I'm even thinking about filing for US citizenship.... not sure I want to be part of my country any more. I've never even really considered it before.
  152. although i think i might wait till after November for that.
  153. zakim-robot
    @zakim-robot
    Jun 24 16:44
    [michiel] Yeah I'd wait a bit.
  154. [michiel] I hope this doesn't affect my three year stint in the UK.
  155. James Nurthen
    @jnurthen
    Jun 24 17:03
    Hope you are getting paid in Euros
  156. if you are you just got a raise :)
  157. zakim-robot
    @zakim-robot
    Jun 24 17:07
    [michiel] Yeah I asked to be paid in pounds yesterday, but might put that off for a bit :P
  158. luis garcia
    @garcialo
    Jun 24 17:07
    Hah
  159. zakim-robot
    @zakim-robot
    Jun 24 17:10
    [michiel] alt=Patrick re-opens an issue on GitHub because “there may be different views”. Henny responds with the question if Patrick can re-open the referendum as well. https://usercontent.irccloud-cdn.com/file/2o1fDdiH/Screen%20Shot%202016-06-24%20at%2019.07.39.png
  160. Mallory
    @StommePoes
    Jun 24 21:28
    @jnurthen that's the last place you want citizenship
  161. James Nurthen
    @jnurthen
    Jun 24 21:29
    I'd have both still.... just had never even considered it before.
  162. Mallory
    @StommePoes
    Jun 24 21:29
    You'll get citizenship, Trump gets elected, then everyone flees to ... the netherlands
  163. I've got dual
  164. means I pay/file taxes for two countries every year
  165. sucks
  166. thinking of renouncing
  167. James Nurthen
    @jnurthen
    Jun 24 21:30
    Even without citizenship i still have to file taxes in the US even if i move
  168. I have been here long enough that they consider me a tax resident now
  169. Mallory
    @StommePoes
    Jun 24 21:31
    yeah but if you have that US citizenship you can move to china, your whole family, live there, work there, doesn't matter, die there... still file US taxes
  170. for zero reason
  171. it's the only country to do it besides Eritrea, which the US silly yelled at Eritrea for doing it
  172. oh and apparnelty north korea does it too but who counts them
  173. And if you have a child in th US
  174. fuck
  175. I know a guy, American by birth, met a French woman, had a kid... that kid has an American parent and is therefore automagically american
  176. she can be 18, speak French, have never been in the States, and required to start filing US taxes
  177. if she ever then makes the mistake of visiting the states the IRS could say "you owe us a file for x years you didn't file" and banks in France could deny her services if they don't want to comply with FATCA
  178. James Nurthen
    @jnurthen
    Jun 24 21:33
    do you actually have to pay US taxes or just file them?
  179. Mallory
    @StommePoes
    Jun 24 21:33
    so instead she can pay 2k to remove her citizenship
  180. currently I don't earn enough to pay both
  181. but if I earn more than ~90k then I would have to
  182. but I hate the filing
  183. So I'm considering paying 2k in US dollars to never have to file US taxes again
  184. oh and
  185. James Nurthen
    @jnurthen
    Jun 24 21:34
    really - wow - i thought rates were theoretically higher in Europe so the tax treaties covered it
  186. Mallory
    @StommePoes
    Jun 24 21:34
    I have to file other papers with teh Treasury
  187. they need to know all accounts with my name
  188. the details of my non-american spouse
  189. which I refuse to give
  190. fuck them. But it's to stop US tax cheats.
  191. So I have to list every account I have
  192. and ther are certain pensions I cannot have
  193. if they have any US funds int them
  194. even general funds that have a US fund in them
  195. which is not uncommon in European pension plans
  196. and for all this, I can't vote.
  197. So, meh.
  198. I have to go to bed, but look into the cost of removing citizenship and having it, before trying to GET it.
  199. James Nurthen
    @jnurthen
    Jun 24 21:40
    yeah - thanks
  200. sorry - someone just rang the doorbell!
  201. It will certainly be a considered decision
  202. (and I will wait until November - cause if that goes wrong we are moving to the Netherlands :) )
  203. zakim-robot
    @zakim-robot
    Jun 24 22:01
    [kate] Do you guys say out loud "ally" or "a-eleven-y" or just "accessibility"?
  204. [alexlande] I say “ally”, but I hear “a-eleven-y” a lot
  205. James Nurthen
    @jnurthen
    Jun 24 22:06
    I say a-eleven-y
  206. although normally just say accessibility
  207. just like i18n
  208. zakim-robot
    @zakim-robot
    Jun 24 22:07
    [alexlande] yeah, I only say one of the above if I’m specifically referring to something with “a11y” in the name, usually
  209. luis garcia
    @garcialo
    Jun 24 22:07
    Ay-leventy-y
  210. zakim-robot
    @zakim-robot
    Jun 24 22:22
    [michiel] When I read it in my mind I say alley, because that's how I became an alley cat.
  211. [michiel] In all other instances I'll say accessibility.
  212. [alexlande] I think I don’t think of it as “a-eleven-y” because for a long time I didn’t realize that the 11 signified the number of letters and that it was an i18n/l10n kind of thing. I interpreted it as a sort of weird ironic pun, like “this word looks like ally, as in you’re an accessibility ally, but it has an 11 instead of ll because they look similar, which is not very accessible"
  213. [alexlande] which makes very little sense, in retrospect
  214. [jiatyan] ditto michiel
  215. zakim-robot
    @zakim-robot
    Jun 24 22:42
    [kate] I thought the same thing, @alexlande !
  216. [kate] In my head and occasionally out loud I'll say "ally" but I usually just go for 'accessibility'. My coworker says 'a-eleven-y' and it made me wonder what the norm was.
  217. [alexlande] ha! glad I’m not alone on that one =D