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

Add more options to the component wrapper helper #4554

Merged
merged 3 commits into from
Jan 15, 2025
Merged

Conversation

andysellick
Copy link
Contributor

What

Adds options to include target and title attributes on elements with the component wrapper helper.

Why

Needed for migrating the button component onto the helper.

Slightly conflicted on the the title attribute as there are accessibility concerns around it and I'm not even sure we're using it, but I don't have time right now to do a deep dive so decided to preserve the original functionality for now.

Visual Changes

None.

Trello card: https://trello.com/c/hUDC8lzz/418-add-component-wrapper-helper-to-button-component

- no real limits to what a title should be, so no error checking needed
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4554 January 15, 2025 13:33 Inactive
@andysellick andysellick merged commit 6494163 into main Jan 15, 2025
12 checks passed
@andysellick andysellick deleted the cwh-options branch January 15, 2025 14:33
@AshGDS AshGDS mentioned this pull request Jan 16, 2025
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