nhsuk-frontend
nhsuk-frontend copied to clipboard
dl responsive table view
Description
This patch is an implementation of the markup-swapping fix for #1092 . It introduces a few new elements: since the table uses a caption and we need to preserve that, but caption isn't valid outside a table, the dl implementation uses figure and figcaption to do the same job.
Tested so far on macOS Chrome and Safari, and the VoiceOver/Safari combination.
Also fixes #1123.
Checklist
- [ ] Tested against our testing policy (Resolution, Browser & Accessibility)
- [x] Follows our coding standards and style guide
- [x] CHANGELOG entry
@regularfry I've rebased this to resolve any recent conflicts
I'll be coming back to pick up from this comment soon
I've updated the blank cells example to extend the new example.njk layout
Plus missing reference screenshots
Rebased again into new packages structure
I'm going to rebase this PR branch @anandamaryon1 and have a look later if I can 😬
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code