Skip to content
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

Consider adding headings to feed's allowed accessibility children #2236

Open
smhigley opened this issue Jun 5, 2024 · 4 comments · May be fixed by #2245
Open

Consider adding headings to feed's allowed accessibility children #2236

smhigley opened this issue Jun 5, 2024 · 4 comments · May be fixed by #2245

Comments

@smhigley
Copy link
Contributor

smhigley commented Jun 5, 2024

Description of bug or feature request

I've run into a use case where headings are used to break up sections of multiple articles within a feed. These are not article-specific headings (which should be within the article node); in my case, the headings have date/time text that group multiple articles below them.

My specific use case is a chat feed with timestamps that group several messages. Another more traditional use case could be a blog feed with headings per month or year.

I haven't run into any practical issues with this semantic structure -- keyboard focus doesn't land on the headings, and no one has complained about them in user testing yet.

  • Will this require a change to CORE-AAM? No
  • Will this require a change to the ARIA authoring guide? No, though it could be added to a feed example if desired
@jnurthen jnurthen added the Agenda label Jun 6, 2024
@scottaohara
Copy link
Member

as mentioned during triage - this is a symptom of a larger problem, that there is an assumption that if roles are not identified as "allowed" or "required" by the ARIA spec - that therefore anything else must be invalid. And this is an example of that over simplification.

So, what we really need to think about is do we need to define content models for the different roles (similar to HTML element's content models). Or do we need to identify specifical "not allowed" roles/elements for specific roles - where if a role is not listed, then it should be considered "allowed".

or: [ insert other idea(s) here ]

@scottaohara
Copy link
Member

linking #2101

though that's titled 'parsing', but this isn't about parsing (if we're thinking HTML parser) but again the allowed content models for roles that wouldn't potentially need to have UA repairs or just 'broken' / 'awkward' experiences if authors did not follow the potential content models

@MarioBatusic
Copy link
Contributor

In case we define ARIA roles for existing HTML elements, I think we should respect HTML content models for child elements - roles.

If we define NEW roles in order to extend the semantics, roles that are not doubles for HTML elements, then the question is more complicated. What should we do in these cases?

@spectranaut
Copy link
Contributor

Minutes from today's meeting: https://www.w3.org/2024/06/13-aria-minutes.html#t08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants