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

General questions, IDL and delegation of something that isn't provided #7

Closed
leobalter opened this issue Feb 24, 2022 · 3 comments
Closed

Comments

@leobalter
Copy link
Owner

leobalter commented Feb 24, 2022

Questions by @bkardell , originally from #6

  • Is the first code example missing a <template>
  • Where do these get added in IDL?
  • What happens if you delegate something and it isn't provided? What if it is provided implicitly? (like, using a itself?)
  • Are all of the names. simply boolean attributes? That is, their mere presence is true? ariadelegateslabel=false - what happens - with that?
leobalter added a commit that referenced this issue Feb 24, 2022
@leobalter
Copy link
Owner Author

Is the first code example missing a <template>

this is now improved. I first used an example simulating the rendered shadow-root but now the examples are reusable if someone copy and paste the HTML and JS parts.

  • Where do these get added in IDL?
  • What happens if you delegate something and it isn't provided? What if it is provided implicitly? (like, using a itself?)

I don't have these answers yet.

Are all of the names. simply boolean attributes? That is, their mere presence is true?

They are boolean attributes.

ariadelegateslabel=false - what happens - with that?

IDK, I'll see that.

@bkardell
Copy link
Contributor

fwiw https://html.spec.whatwg.org/#boolean-attributes is what I meant, specifically. There are attributes which work both ways, I was just asking which it was intended. Sometimes the string false works, sometimes it is "a boolean attribute" by that definition

nolanlawson pushed a commit to nolanlawson/cross-root-aria-delegation that referenced this issue Aug 11, 2022
@mrego
Copy link
Collaborator

mrego commented Oct 25, 2022

Let's move this to different issues, one for the IDL question and another for what happens when you delegate something that isn't provided.

About the booleans, we might end up going with attributes that allow a list, so I guess that can be discussed as part of #3.

@mrego mrego closed this as completed Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants