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

Summary List Macro - Using Span when there are no actions #1998

Closed
TomBillingtonUK opened this issue Oct 27, 2020 · 3 comments
Closed

Summary List Macro - Using Span when there are no actions #1998

TomBillingtonUK opened this issue Oct 27, 2020 · 3 comments

Comments

@TomBillingtonUK
Copy link
Contributor

Hi,

Using v3.7.0 of the Summary List nunjucks macro. We get the following error on the Axe Accessibility tool:

<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements

It is caused by an empty span tag when there are no actions for a particular row. Is there any way this can be removed/changed so we adhere to the html validation in Axe

Thanks,
Tom

@36degrees
Copy link
Contributor

Hi @Cavalier07,

I believe this is a duplicate of #1806 – are you happy that's the same problem you're seeing?

@TomBillingtonUK
Copy link
Contributor Author

Yes that's the same problem. Can we close this as a duplicate.

@36degrees
Copy link
Contributor

Thanks for taking the time to report it anyway, Tom 🙂

Please feel free to add any additional comments to the original issue – you can also subscribe to notifications on that issue so that you'll be notified when it's fixed.

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

No branches or pull requests

2 participants