how would i use that? wouldn't i need another element for the description?
taion
02:56
the context here is for a generic link component for a front-end routing framework
taion
02:56
i'd like to automatically handle indicating the "active" link in an accessible way for users of this library
garcialo
02:56
Yeah, but I can't think if any other way other than putting additional information in the link text.
garcialo
02:57
Ah
taion
02:57
well, the current proposal is to use title
garcialo
03:00
Not sure how good support for title is. Describedby seems more appropriate in my opinion. But if title works in the SR/browser combinations you want to support then that would be great.
taion
03:34
yeah, but it doesn't work in that context
taion
03:34
for a single component
taion
03:34
just need to find a decent compromise for a library
jonathantneal
04:24
Merry Christmas!
stevefaulkner
09:52
@taion the most robust method to indicate to SR users is to include text in link <a href>link text <span class="context"> xxxxx</span></a> use CSS to hide offscreen if desired
Also see the link to Heydon's post in the opening paragraph.
taion
15:55
@stevefaulkner@MichielBijl thanks!
taion
15:55
i did read the heydonworks post, which is where i got the aria-current thing from
taion
16:00
tricky... the sr-only text does seem like the clearest approach, but hard for me to implement nicely
zakim-robot
17:15
[elliottcable] Hallo all!
zakim-robot
17:15
[elliottcable] oh lord, setting up another Slack account ā¦ let's do this.
zakim-robot
17:16
[elliottcable] so: I've got some questions about alt-text on links; anybody around who's got a moment?
MichielBijl @MichielBijl waves at elliottcable
Lexicality
17:27
Hah, so I'm using IRC to view a gitter room which is forwarding Slack messages?
MichielBijl
17:28
@Lexicality sounds about right ;)
MichielBijl
17:29
@elliottcable it's usually best to just leave your question, more often than not someone will come by and answer it a bit later.
Lexicality
17:29
Well that saves me from having to deal with yet another slack team. Excellent.
MichielBijl
17:35
Thanks to sameroom.io for sponsering the tunnel making that possible =D
MichielBijl
17:36
And Slack also sponsors the room we have on there (with history and all).
Lexicality
18:23
Neat
garcialo
18:24
And gitter makes lurking much easier
Lexicality
18:24
Not as easy as IRC ;)
garcialo
18:25
I'd say easier since you just need a URL
MichielBijl
18:25
And you don't have to setup a thingy for when you're offline.
Lexicality
18:26
Ah well, I use IRCCloud
MichielBijl
18:26
Ah, that explains it =P
Lexicality
18:27
Which makes lurking so easy I recently had to spend 20 minutes de-lurking and deleting about 40 rooms that I'd joined once just in case
garcialo
18:27
Ah
Lexicality
18:28
Incidentally, are there any useful posts/articles to give to people to convince them about accessability being a good idea and all that?
MichielBijl
18:28
I'd consider using IRCCloud if I really needed it.
MichielBijl
18:29
Seems like a great service.
Lexicality
18:29
Most of my team seem to see accessability as a neat bonus but nothing to really work towards
Lexicality
18:29
It becomes more useful the more you use it
MichielBijl
18:29
You don't work toward it, you work away from it .
Lexicality
18:29
(kinda)
MichielBijl
18:30
<html></html> is pretty accessible, the more you add, the more you lose ;)
Lexicality
18:30
This is true :p
garcialo
18:30
I would check out @LjWatson's Design Like We Give a Damn
MichielBijl
18:31
Yep
Lexicality
18:31
I mean more that our product is itself not a particularly easy thing to make accessable as it is mostly densely packed numbers with visual context, so it will require effort to make it something that can be accessable
[elliottcable] lexicality: oh lord, yes, that. I've got probably upwards of a hundred collected IRC rooms nowadays. It used to be ā„140 across several networks when I was an IRC addict
Lexicality
19:09
It's dangerous when you don't have a limited number of irssi hotswap windows ;)
zakim-robot
19:10
[elliottcable] lexicality: limited? I don't recall irssi being window-limited. I'm pretty sure I have a screenshot somewhere with those 140 windows. or are we talking about different things?
Lexicality
19:11
I seem to remember it getting inconvenient to work with > 10 windows but it's been years
Lexicality
19:12
Didn't you have to give everything a name and then type that name to get to it?
zakim-robot
19:27
[elliottcable] ugh. As always, sameroom seems to handle irc terribly.
zakim-robot
19:27
[elliottcable] Why does every tool not built exclusively for IRC, seem to be built by people that have never used IRC? )=
garcialo
19:29
@elliottcable did you still need assistance with the alt text thing?
zakim-robot
19:43
[elliottcable] Oh! Sure, yes. I can't remember my other question, but here's one:
zakim-robot
19:43
[elliottcable] what's the preferred phrasing for alt-text? I've sort of pointlessly learned-by-example to just fill the alt-text with an idle description of āwhat use the image isā
zakim-robot
19:44
[elliottcable] but today it just sort of clicked that that's ā¦ useless, that it needs to Convey The Same Information as the image does. Can any of y'all share some examples of truly excellent alt-text?
zakim-robot
19:44
[elliottcable] also, I'm pretty pedantic, being a programmer ā¦ so what's the appropriate grammar for alt-text? How is it read out, usually; should it be a sentence, or a fragment; is there a particular mode of speech or tense alts should be written in ā¦ etc etc etc
garcialo
19:50
Short and sweet. It can be longer if necessary.
garcialo
19:50
The SR will announce that something is an image and then read the text
garcialo
19:52
It will pay attention to the punctuation. If you have it too long (I forget exactly how long...maybe 150ish characters?), JAWS will interpret one image as two.
zakim-robot
19:54
[elliottcable] example: badge on a GitHub README appearing as āmaintained? | yes!ā
zakim-robot
19:55
[elliottcable] which of these is a better way to convey that: āa badge indicating this project is actively maintainedā / āthis project is actively maintainedā / āmaintained: yesā
zakim-robot
19:55
[elliottcable] (that probably more succinctly describes my confusion.)
garcialo
19:57
Probably that second one.
zakim-robot
19:57
[elliottcable]nods
garcialo
19:58
The first one would make sense if it needed to be clear that it was a badge and not some other widget. I think I know what you're talking about without needing to know it was a badge
zakim-robot
19:59
[elliottcable] thank you!
zakim-robot
20:00
[elliottcable] Are punctuation read or implied?
zakim-robot
20:00
[elliottcable] Like, is āMaintenance status: Unmaintainedā meaningful as opposed to the english-prose version?
zakim-robot
20:00
[elliottcable] s/meaningful/communicative/
garcialo
20:02
Oh. I just looked up the badges.
garcialo
20:02
Looks like they're just text. Are they actually images?
garcialo
20:03
If you have images of text it's pretty safe to just have the alt be the text
garcialo
20:04
Just use punctuation like you normally would.
garcialo
20:05
Just think of it as supplying text that will be displayed if the image isn't displayed for a visual user.
garcialo
20:06
You could also consider styling it as if it was that case as well.
zakim-robot
20:09
[elliottcable] you can style alt-text?
zakim-robot
20:09
[elliottcable] O_O
MichielBijl
20:44
I think @garcialo means that you can style an element to look like the image?