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 title option to summary list links #1967

Merged
merged 1 commit into from
Mar 10, 2021
Merged

Conversation

andysellick
Copy link
Contributor

What

  • link titles for 'change' and 'delete' links by default are automatically generated based on the text 'Change/Delete [thing]' but this causes problems when the thing and the link text don't naturally follow
  • adding in the option to pass explicit title attributes for the links

Why

We've got a situation in Accounts where the text doesn't work with the automatically generated titles, so adding an option to pass explicit ones seems useful.

Visual Changes

None.

@bevanloon bevanloon temporarily deployed to govuk-publis-summary-li-h0zak7 March 10, 2021 09:39 Inactive
- link titles for 'change' and 'delete' links by default are automatically generated based on the text 'Change/Delete [thing]' but this causes problems when the thing and the link text don't naturally follow
- adding in the option to pass explicit title attributes for the links
@andysellick andysellick force-pushed the summary-list-link-titles branch from 047e77a to 5eeaa3a Compare March 10, 2021 09:40
@bevanloon bevanloon temporarily deployed to govuk-publis-summary-li-h0zak7 March 10, 2021 09:40 Inactive
@andysellick andysellick requested a review from danacotoran March 10, 2021 09:42
Copy link
Contributor

@danacotoran danacotoran left a comment

Choose a reason for hiding this comment

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

👍

@andysellick andysellick merged commit 977563d into master Mar 10, 2021
@andysellick andysellick deleted the summary-list-link-titles branch March 10, 2021 13:27
This was referenced Mar 11, 2021
This was referenced Mar 11, 2021
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