nhsuk-frontend icon indicating copy to clipboard operation
nhsuk-frontend copied to clipboard

dl responsive table view

Open regularfry opened this issue 9 months ago • 4 comments

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

regularfry avatar Feb 26 '25 14:02 regularfry

@regularfry I've rebased this to resolve any recent conflicts

I'll be coming back to pick up from this comment soon

colinrotherham avatar Apr 07 '25 16:04 colinrotherham

I've updated the blank cells example to extend the new example.njk layout

Plus missing reference screenshots

colinrotherham avatar Apr 08 '25 08:04 colinrotherham

Rebased again into new packages structure

colinrotherham avatar Jun 09 '25 17:06 colinrotherham

I'm going to rebase this PR branch @anandamaryon1 and have a look later if I can 😬

Merges and extra commits

colinrotherham avatar Sep 02 '25 08:09 colinrotherham