Skip to content

GAUD-9415 - Add more info and examples for using selection inputs in table#6545

Open
svanherk wants to merge 5 commits intomainfrom
GAUD-9415-add-selection-inputs-in-table-docs
Open

GAUD-9415 - Add more info and examples for using selection inputs in table#6545
svanherk wants to merge 5 commits intomainfrom
GAUD-9415-add-selection-inputs-in-table-docs

Conversation

@svanherk
Copy link
Contributor

@svanherk svanherk commented Feb 2, 2026

This looks super long, but it looks a lot better on the Daylight site. The code is hidden, so just the html pieces are shown.

I don't think there's an easy way for me to get a Daylight site preview before merging for reviewers - documentation needs a published version of core that includes the demo components to build. 🤔

@svanherk svanherk changed the title GAUD-9415 - Add mor info and examples for using selection inputs in table GAUD-9415 - Add more info and examples for using selection inputs in table Feb 2, 2026
</d2l-table-wrapper>
```

If your table uses single selection, you should add an `aria-label` to the header instead (or use `offscreen` text).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't even mention offscreen text -- I think we always prefer aria-label.

@svanherk
Copy link
Contributor Author

svanherk commented Feb 2, 2026

FYI @geurts

@svanherk svanherk marked this pull request as ready for review February 3, 2026 18:30
@svanherk svanherk requested a review from a team as a code owner February 3, 2026 18:30
@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-6545/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

</tr>
```

The `d2l-table-wrapper` is a [selection control component](../../components/selection/#selectionmixin), meaning you can use `d2l-input-select` components inside the table alongside a `d2l-selection-select-all` component in the header.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that should be d2l-selection-input?

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

Successfully merging this pull request may close these issues.

3 participants