-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create property for repeated content #1044
Comments
(Some publishing-specific notes I don't want to lose track of.)
|
On board with this idea but wanted to suggest a broader approach. "repeated content" is very specific, so understandability is a bonus, but if I understand correctly, the only purpose is to have this content be skipped in linearized audio scenarios, such as screen reader "read all" functions, or lighter weight AT like "Speak Screen." Is that the intention? If so, perhaps we should be considering something like |
The term "linearize" strikes me as confusing. And "presentlinear" doesn't clarify it for me. If "repeated content" is problematic, perhaps there's a third alternative. That said, I think we could expand BTW, you mentioned screen reader "read all" functions. I assume that's just one example of what you mean by "linearize" in the context of screen readers. Other examples would presumably include:
In other words, something with this property would not be presented by the screen reader -- if the user had opted out of its presentation via a screen reader setting. |
After the F2F discussion, I withdraw the suggestion for the broader approach. I think “repeated content” or something similar is easier for authors to understand than the concept of linearized content for screen reader reading modes. |
I think this property is a good idea. Not only for screen readers but also for things like Safari’s Reader Mode or Firefox’ Reader View. It’s another piece of information that can be used to provide a cleaner reading experience; for all kinds of users. |
PR here, I called it aria-repeated: |
I'll just add my use case here too, since somebody directed me here. I run a legal research website where citations are made into links. The first time somebody cites something, it'll read something like:
And we'll make Later in the same webpage, it'll refer to Roe v. Wade again, but instead of referring to the whole citation, it'll say:
And again we'll add a link to Roe. v. Wade, this time linkifying Legal writing contains dozens of |
@mlissner (caveat: I'm not a screen reader user ) This doesn't sound like something you should do. |
The thought was that a page might have 20 unique citations, but over 100 links to those citations, and that suppressing the secondary links while maintaining their text would be good. I'm very bad at aria stuff, so I apologize if I'm missing something obvious or polluting the thread, but our use case felt similar to what's being described here. |
Idea: instead of a boolean, how about something like aria-filterable="repeated". |
I kinda like the idea of aria-filterable or similar. I'm struggling to think of "real" use cases, but it seems like the fact that the content is "repeated" is not the real semantic reason a screen reader user is trying to filter it. Wording is difficult, but it's more that it's semi-presentational; i.e. not purely presentational like a spacer image. As one example, ARIA DPub has doc-pagebreak, but page numbers are presented using the title attribute or aria-label/ledby. That's normally what you want... but what if a user wanted to see where the page number gets rendered (bottom of page, top of page, etc.)? And right now, if the page number is rendered, you'd have to use aria-hidden to prevent duplication with the label on doc-pagebreak, which seems like a bad thing. |
@mlissner I must agree that your outlined approach is not desired. I happen to be a screenreader user, and hiding links in this way will lead to many problems, not only for screenreader users but others as well. Your use case presents an interesting situation, but maybe not one addressable in this issue; however, it's most definitely an important use case, having encountered it many times personally. My stating of the problem: My thoughts: So, I hope I've captured everything appropriately, but please tell me if that's not true. My assertion doesn't make me happy, but I claim that these links need to be just as annoying for screen reader users as for anyone else, because I can't think of a mechanism specific to assistive technology (AT) users, which does not disadvantage yet other AT users, that should allow for them to be hidden. The user could indicate some kind of filter, and maybe we could use a microformat or other way of filtering these out, but I'd argue that would be helpful to so many more folks than those with an ARIA-aware mediation layer available to them e.g. some form of AT. Instead, that seems like a website feature that could be easily toggled on/off, no? |
How about:
|
+1 to pageheader/pagefooter roles. |
@pkra @cookiecrook -- here's what I'm looking for:
The idea is that ATs would probably include this content by default, but alert users of options to hide it during a reading mode. |
They're going to release a small update to DPUB-ARIA "very soon", so we have a window of opportunity right now. |
Hi, I'd love to get reviews from w3c/dpub-aria#28 |
I think this can be closed or at least out moved out of the 1.3 milestone. On the one hand, dpub-aria now has doc-pageHeader and doc-pageFooter. On the other hand, #1188 (for aria-repeated) was closed with the closing comment mentioning concerns about author misuse. Please feel free to reopen. |
This is related to w3c/dpub-aria#10 and is an idea which @jnurthen mentioned to me. Filing it here so we don't lose it.
The basic idea is this: There may be content which is repeated for visual purposes which a screen reader user may or may not wish to have presented every time it is encountered. One example is running headers and footers in documents with a print-layout presentation. But there are undoubtedly others.
If we create a boolean property a la
aria-repeatedcontent
, then screen readers could add an option to present (or not) repeated content.The text was updated successfully, but these errors were encountered: