Skip to content

test(button): add attribute stories#959

Open
petergoes wants to merge 1 commit intomainfrom
test--button-stories-for-attributes
Open

test(button): add attribute stories#959
petergoes wants to merge 1 commit intomainfrom
test--button-stories-for-attributes

Conversation

@petergoes
Copy link
Contributor

closes: #833

@petergoes petergoes requested a review from a team as a code owner January 15, 2026 12:44
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
candidate Ready Ready Preview, Comment Jan 15, 2026 0:48am
candidate-storybook-non-conforming Ready Ready Preview, Comment Jan 15, 2026 0:48am
candidate-storybook-test Ready Ready Preview, Comment Jan 15, 2026 0:48am
evil-storybook Ready Ready Preview, Comment Jan 15, 2026 0:48am

@petergoes petergoes force-pushed the test--button-stories-for-attributes branch from 76f6229 to 0721842 Compare January 15, 2026 12:47
@sonarqubecloud
Copy link

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5836aaa) to head (0721842).
⚠️ Report is 106 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #959    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           28        14    -14     
  Lines          310       119   -191     
  Branches        52        30    -22     
==========================================
- Hits           310       119   -191     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

parameters: {
docs: {
description: {
story: 'De toegankelijke naam van de button is `Klik mij via aria-label` inplaats van `Klik mij!`',
Copy link
Member

Choose a reason for hiding this comment

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

Ik zou heel graag in onze Storybooks een realistisch voorbeeld hebben dat best practices volgt, bijvoorbeeld Verwijderen en aria-label="Verwijderen: preview.pdf"

render: (props) => (
<>
<p id="label">button label</p>
<Button {...props} aria-labelledby="label" />
Copy link
Member

Choose a reason for hiding this comment

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

Dit volgt niet de WCAG best practice van "Label in naam". Misschien een leuke om ook "Verwijderen" en "preview.pdf" te combineren in een tabelletje of iets dergelijks? Met aria-labelledby="button-id filename-id"

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.

Button: stories voor support van belangrijke attributen

3 participants