Skip to content

Conversation

@frankieroberto
Copy link
Contributor

When porting this component across to the NHS design system, I noticed a couple of minor inconsistencies with the macro option descriptions.

href was marked as required but number was not marked as required. For both, they’re technically optional as they’re not required if the item is an ellipsis. This tries to make that clearer.

Have also add a clarification to the visuallyHiddenText to try and make it clearer that there is some default text, and you’d only need to set it if you wanted to change this.

`href` is only required if the item is not an ellipsis (like `number`).

Minor tweaks to the wording.
Copy link
Member

@romaricpascal romaricpascal left a comment

Choose a reason for hiding this comment

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

Cheers for the update @frankieroberto ! The change looks good to me, but I'll let @seaemsi or @calvin-lau-sig7 give the second approval needed for its merge as it's content related 😊

@frankieroberto
Copy link
Contributor Author

@seaemsi @calvin-lau-sig7 any chance of a second review? 🙏

@frankieroberto
Copy link
Contributor Author

@romaricpascal @seaemsi is this mergeable now?

@seaemsi seaemsi merged commit ad896c9 into alphagov:main May 22, 2025
45 checks passed
@frankieroberto frankieroberto deleted the patch-4 branch May 22, 2025 17:55
@36degrees 36degrees added this to the v5.10.2 milestone Jun 2, 2025
querkmachine pushed a commit that referenced this pull request Jun 6, 2025
Update pagination macro descriptions
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.

4 participants