From the build of commit ea2c3f6
(version 1.8.4 in package.json), run
in GitHub Actions.
Every push to main is tested before the examples site is published. Lighthouse runs alongside,
and its results are added here when it finishes, about half an hour later.
Summary
Tests
2,874
passed of 2,874: 127 build and package tests, 2,748 component tests in Chromium
Passing
axe-core tests
217
passed of 217, in shadow and light DOM, light and dark, WCAG 2.2 AA plus Lighthouse’s extra rules
Passing
Lighthouse accessibility
58 / 58
example pages scoring 100
Passing
Lighthouse budgets
58 / 58
example pages within every budget
Passing
Lighthouse
Each example on the examples site is audited as its own page, 3 times, with
Lighthouse 12.6.1; the table shows the medians. The budgets every page
must meet:
Accessibility score at least 100
Best practices score at least 95
Performance score at least 95
Cumulative layout shift at most 0.05
Total blocking time at most 200 ms
Lighthouse medians by example page (58 of 58 within budget)
Lighthouse medians by example page (58 of 58 within budget)
Every component in shadow and light DOM: behaviour, keyboard use, axe-core accessibility in light and
dark mode, 320px reflow, forced colours and analytics. Network services are stubbed.
passed: analytics from the components › site-main-nav: a menu opening (not closing) with its label
passed: analytics from the components › bento-box (shadow) › one site search per section, with its total, once per load
passed: analytics from the components › bento-box (shadow) › nothing found counts 0; an error is not a search
passed: analytics from the components › bento-box (shadow) › result and see-all clicks: section and 1-based position, no titles or URLs
passed: analytics from the components › bento-box (light) › one site search per section, with its total, once per load
passed: analytics from the components › bento-box (light) › nothing found counts 0; an error is not a search
passed: analytics from the components › bento-box (light) › result and see-all clicks: section and 1-based position, no titles or URLs
passed: analytics from the components › site-header colour scheme › the visitor's choices, not the initial value
passed: analytics from the components › site-page matomo-id (shadow) › without it: no analytics element and nothing loaded
passed: analytics from the components › site-page matomo-id (shadow) › adds one <site-analytics> for the id, outside <main>, and the page stays clean
passed: analytics from the components › site-page matomo-id (shadow) › with an analytics element already on the page, still one page view
passed: analytics from the components › site-page matomo-id (light) › without it: no analytics element and nothing loaded
passed: analytics from the components › site-page matomo-id (light) › adds one <site-analytics> for the id, outside <main>, and the page stays clean
passed: analytics from the components › site-page matomo-id (light) › with an analytics element already on the page, still one page view
passed: analytics from the components › bufferAnalytics (site-page while the analytics code loads) › keeps events nobody forwards, and fires them again on flush
passed: analytics from the components › bufferAnalytics (site-page while the analytics code loads) › keeps nothing while an element forwards, and drop() forgets
test/base-preupgrade.test.ts — 11 passed (5.0 s)
passed: base.css before <site-page> is defined › keeps the heading margin inside, stays invisible, and shows after two seconds
passed: base.css before <site-page> is defined › shows the element as soon as it is defined
passed: base.css before <uvalib-chip-group> is defined › is hidden, keeps each row its upgraded height, and shows after two seconds
passed: base.css before <uvalib-chip-group> is defined › shows the raw children after two seconds when the script never loads
passed: base.css before <uvalib-combobox> is defined › holds the label and field, keeps a fallback input usable, and nothing moves on upgrade
passed: base.css before <uvalib-image-regions> is defined › lays the image and list out as the upgraded element does
passed: base.css before <uvalib-map> is defined › holds the instructions and the map height above the list, and the list stays put
passed: base.css before <uvalib-filter-drawer> is defined › on a phone hides the filters, holds the 44px button, and nothing moves on upgrade
passed: base.css before <uvalib-filter-drawer> is defined › on a wide screen shows the filters as written
passed: base.css before <uvalib-metadata> is defined › holds the upgraded height, so nothing below moves, at 1000px
passed: base.css before <uvalib-metadata> is defined › holds the upgraded height, so nothing below moves, at 375px
test/base.test.ts — 19 passed (31 ms)
passed: rewriteHost › rewrites :host and :host(...)
passed: light mode is unchanged without the color-scheme switch › shadow › every component matches main's colours (the two fixed borders reach 3:1)
passed: light mode is unchanged without the color-scheme switch › shadow › stays light with the OS in dark mode and the host page declaring light dark
passed: light mode is unchanged without the color-scheme switch › light › every component matches main's colours (the two fixed borders reach 3:1)
passed: light mode is unchanged without the color-scheme switch › light › stays light with the OS in dark mode and the host page declaring light dark
passed: the site's own content keeps the page's colour scheme without the switch › shadow: <site-page> content and its pre-footer band
passed: the site's own content keeps the page's colour scheme without the switch › shadow: <site-style> content
passed: the site's own content keeps the page's colour scheme without the switch › light: <site-page> content and its pre-footer band
passed: the site's own content keeps the page's colour scheme without the switch › light: <site-style> content
test/color-scheme.test.ts — 75 passed (1.4 s)
passed: dark mode (color-scheme-switch) › shadow: switching on and off at runtime keeps the header alert in place
passed: dark mode (color-scheme-switch) › light: switching on and off at runtime keeps the header alert in place
passed: dark mode (color-scheme-switch) › off by default › shadow: no control, no attribute, even with the OS dark
passed: dark mode (color-scheme-switch) › off by default › shadow: inert: no storage read, no media query, no storage listener
passed: dark mode (color-scheme-switch) › off by default › light: no control, no attribute, even with the OS dark
passed: dark mode (color-scheme-switch) › off by default › light: inert: no storage read, no media query, no storage listener
passed: dark mode (color-scheme-switch) › off by default › an inert header starts following once another component turns dark mode on
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off matches the normalised snapshot
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › shadow, default
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › shadow, no-main-nav
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › shadow, site links
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › shadow, vendor
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › light, default
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › light, no-main-nav
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › light, site links
passed: dark mode (color-scheme-switch) › off by default › the header markup with the switch off is byte-identical to main (raw) › light, vendor
passed: dark mode (color-scheme-switch) › without light-dark() support › shows no control, sets no attribute and stays light
passed: dark mode (color-scheme-switch) › opt-in (shadow) › defaults to System, which follows the OS preference live
passed: dark mode (color-scheme-switch) › opt-in (shadow) › Light and Dark override the OS, are stored, and System removes the key
passed: dark mode (color-scheme-switch) › opt-in (shadow) › keeps a stored choice when the OS preference comes to match it
passed: dark mode (color-scheme-switch) › opt-in (shadow) › restores the stored choice on the next page load
passed: dark mode (color-scheme-switch) › opt-in (shadow) › follows a change made in another tab (storage event)
passed: dark mode (color-scheme-switch) › opt-in (shadow) › still works for the page when storage throws
passed: dark mode (color-scheme-switch) › opt-in (shadow) › is a native radio group with a "Theme" legend, unique names, and arrow keys
passed: dark mode (color-scheme-switch) › opt-in (shadow) › two light-DOM pages never share radio names or popover ids
passed: dark mode (color-scheme-switch) › opt-in (shadow) › wide screens: at the end of the utility row, on the same line, targets >= 24px
passed: dark mode (color-scheme-switch) › opt-in (shadow) › does not overflow the header at 993px
passed: dark mode (color-scheme-switch) › opt-in (shadow) › does not overflow the header at 1100px
passed: dark mode (color-scheme-switch) › opt-in (shadow) › phones: last in the Menu popover, full width, legend visible, with a rule
passed: dark mode (color-scheme-switch) › opt-in (shadow) › no-main-nav: the popover becomes a container holding the list and the control
passed: dark mode (color-scheme-switch) › opt-in (shadow) › vendor variant: after the inline nav, no overflow at 1280px
passed: dark mode (color-scheme-switch) › opt-in (shadow) › vendor variant: after the inline nav, no overflow at 390px
passed: dark mode (color-scheme-switch) › opt-in (shadow) › swaps the logo to the reversed one in dark mode and back, keeping its size
passed: dark mode (color-scheme-switch) › opt-in (light) › defaults to System, which follows the OS preference live
passed: dark mode (color-scheme-switch) › opt-in (light) › Light and Dark override the OS, are stored, and System removes the key
passed: dark mode (color-scheme-switch) › opt-in (light) › keeps a stored choice when the OS preference comes to match it
passed: dark mode (color-scheme-switch) › opt-in (light) › restores the stored choice on the next page load
passed: dark mode (color-scheme-switch) › opt-in (light) › follows a change made in another tab (storage event)
passed: dark mode (color-scheme-switch) › opt-in (light) › still works for the page when storage throws
passed: dark mode (color-scheme-switch) › opt-in (light) › is a native radio group with a "Theme" legend, unique names, and arrow keys
passed: dark mode (color-scheme-switch) › opt-in (light) › two light-DOM pages never share radio names or popover ids
passed: dark mode (color-scheme-switch) › opt-in (light) › wide screens: at the end of the utility row, on the same line, targets >= 24px
passed: dark mode (color-scheme-switch) › opt-in (light) › does not overflow the header at 993px
passed: dark mode (color-scheme-switch) › opt-in (light) › does not overflow the header at 1100px
passed: dark mode (color-scheme-switch) › opt-in (light) › phones: last in the Menu popover, full width, legend visible, with a rule
passed: dark mode (color-scheme-switch) › opt-in (light) › no-main-nav: the popover becomes a container holding the list and the control
passed: dark mode (color-scheme-switch) › opt-in (light) › vendor variant: after the inline nav, no overflow at 1280px
passed: dark mode (color-scheme-switch) › opt-in (light) › vendor variant: after the inline nav, no overflow at 390px
passed: dark mode (color-scheme-switch) › opt-in (light) › swaps the logo to the reversed one in dark mode and back, keeping its size
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, 1280px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, 1000px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, 993px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, no-main-nav, 1280px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, no-main-nav, 1000px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › shadow, no-main-nav, 993px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, 1280px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, 1000px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, 993px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, no-main-nav, 1280px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, no-main-nav, 1000px
passed: dark mode (color-scheme-switch) › long site links: the control stays at the end of the utility row › light, no-main-nav, 993px
passed: dark mode (color-scheme-switch) › the "System" hint always names the OS preference › shadow: with Light chosen and the OS dark it reads "(currently dark)", live
passed: dark mode (color-scheme-switch) › the "System" hint always names the OS preference › light: with Light chosen and the OS dark it reads "(currently dark)", live
passed: dark mode (color-scheme-switch) › a stray data-uva-color-scheme (the snippet on a page without the switch) › shadow: <site-page> without the switch removes it; the page stays light
passed: dark mode (color-scheme-switch) › a stray data-uva-color-scheme (the snippet on a page without the switch) › shadow: a standalone <site-header> without the switch removes it too
passed: dark mode (color-scheme-switch) › a stray data-uva-color-scheme (the snippet on a page without the switch) › light: <site-page> without the switch removes it; the page stays light
passed: dark mode (color-scheme-switch) › a stray data-uva-color-scheme (the snippet on a page without the switch) › light: a standalone <site-header> without the switch removes it too
passed: dark mode (color-scheme-switch) › several components on one page › a header without the switch follows a dark root: never the navy logo
passed: dark mode (color-scheme-switch) › several components on one page › turning one owner off keeps the attribute; the last one off removes it
passed: dark mode (color-scheme-switch) › several components on one page › disconnecting the last owning <site-page> releases and removes the attribute
passed: dark mode (color-scheme-switch) › forced colors (a contrast theme repaints the header) › picks the logo from the OS theme, not the stored choice
passed: dark mode (color-scheme-switch) › standalone <site-header color-scheme-switch> › shadow: sets the attribute, installs the rules and renders the control
passed: dark mode (color-scheme-switch) › standalone <site-header color-scheme-switch> › light: sets the attribute, installs the rules and renders the control
passed: dark mode (color-scheme-switch) › standalone <site-header color-scheme-switch> › removing the attribute turns dark mode off again
passed: dark mode (color-scheme-switch) › standalone <site-header color-scheme-switch> › no-style: still sets the attribute and color-scheme on <html> for the host CSS
passed: library hours in Asia/Tokyo › runs in New York or Tokyo
passed: library hours in Asia/Tokyo › 23:30 on a Saturday in New York (Sunday in UTC and Tokyo) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › 23:30 on a Saturday in New York (Sunday in UTC and Tokyo) › site-hours-section shows the New York date and its hours
passed: library hours in Asia/Tokyo › a Saturday evening (19:00, already Sunday in UTC) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › a Saturday evening (19:00, already Sunday in UTC) › site-hours-section shows the New York date and its hours
passed: library hours in Asia/Tokyo › the Sunday clocks go back (00:30 EDT, before the change) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › the Sunday clocks go back (00:30 EDT, before the change) › site-hours-section shows the New York date and its hours
passed: library hours in Asia/Tokyo › the Saturday ending the week clocks went back (23:30 EST) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › the Saturday ending the week clocks went back (23:30 EST) › site-hours-section shows the New York date and its hours
passed: library hours in Asia/Tokyo › the Sunday clocks go forward (03:30 EDT, just after the change) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › the Sunday clocks go forward (03:30 EDT, just after the change) › site-hours-section shows the New York date and its hours
passed: library hours in Asia/Tokyo › the Saturday before clocks go forward (23:30 EST) › library-weekly-hours shows the New York week with today marked
passed: library hours in Asia/Tokyo › the Saturday before clocks go forward (23:30 EST) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › runs in New York or Tokyo
passed: library hours in America/New_York › 23:30 on a Saturday in New York (Sunday in UTC and Tokyo) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › 23:30 on a Saturday in New York (Sunday in UTC and Tokyo) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › a Saturday evening (19:00, already Sunday in UTC) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › a Saturday evening (19:00, already Sunday in UTC) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › the Sunday clocks go back (00:30 EDT, before the change) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › the Sunday clocks go back (00:30 EDT, before the change) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › the Saturday ending the week clocks went back (23:30 EST) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › the Saturday ending the week clocks went back (23:30 EST) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › the Sunday clocks go forward (03:30 EDT, just after the change) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › the Sunday clocks go forward (03:30 EDT, just after the change) › site-hours-section shows the New York date and its hours
passed: library hours in America/New_York › the Saturday before clocks go forward (23:30 EST) › library-weekly-hours shows the New York week with today marked
passed: library hours in America/New_York › the Saturday before clocks go forward (23:30 EST) › site-hours-section shows the New York date and its hours
passed: siteLink › leaves other schemes and protocol-relative urls unchanged
passed: siteLink › still joins relative paths that merely look like a scheme prefix
test/message-classes.test.ts — 19 passed (414 ms)
passed: base.css .uvalib-message › matches <site-alerts> list alerts: the alert colours and a thick start border
passed: base.css .uvalib-message › is inline content size: no outer margins on its first and last child, text at body size
passed: base.css .uvalib-message › severity is in the text, not colour alone
passed: base.css .uvalib-message › wraps its text pretty (no one-word last line), never balanced in its box
passed: base.css .uvalib-message › reflows at 320px with no horizontal scroll
passed: base.css .uvalib-message › forced colors: every message keeps a visible border, thicker at the start
passed: base.css .uvalib-message › the link focus ring follows the text colour
passed: base.css .uvalib-message › light › text and links reach 7:1 (AAA) on every kind
passed: base.css .uvalib-message › light › each kind has its own colours, and notice is info
passed: base.css .uvalib-message › light › has no axe violations
passed: base.css .uvalib-message › dark › text and links reach 7:1 (AAA) on every kind
passed: base.css .uvalib-message › dark › each kind has its own colours, and notice is info
passed: base.css .uvalib-message › dark › has no axe violations
passed: base.css .uvalib-message › light, base.css alone › text and links reach 7:1 (AAA) on every kind
passed: base.css .uvalib-message › light, base.css alone › each kind has its own colours, and notice is info
passed: base.css .uvalib-message › light, base.css alone › has no axe violations
passed: base.css .uvalib-message › dark, base.css alone › text and links reach 7:1 (AAA) on every kind
passed: base.css .uvalib-message › dark, base.css alone › each kind has its own colours, and notice is info
passed: base.css .uvalib-message › dark, base.css alone › has no axe violations
test/pagefind.test.ts — 25 passed (17.9 s)
passed: pagefind.css with the stock Pagefind UI › looks like the library search: field, filters, titles, marks, tags, Load more
passed: pagefind.css with the stock Pagefind UI › has one gap left that needs script: the field's missing label
passed: pagefind.css with the stock Pagefind UI › hides the empty Clear button from the tab order and screen readers
passed: pagefind.css with the stock Pagefind UI › shows a 3px library-orange focus ring on the field, filters, links and buttons
passed: pagefind.css with the stock Pagefind UI › is readable in dark mode (pagefind.css carries the role tokens it reads)
passed: pagefind.css with the stock Pagefind UI › keeps its controls visible in forced colors
passed: pagefind.css with the stock Pagefind UI › reflows at 320px with no sideways scrolling
passed: pagefind.css with the stock Pagefind UI › keeps its text when spaced out (WCAG 1.4.12): no fixed heights clip it
passed: <uvalib-pagefind-search> › labels the field visibly and announces the settled result count
passed: <uvalib-pagefind-search> › reads ?q= when it starts and writes the settled query back
passed: <uvalib-pagefind-search> › leaves the URL alone with query-param=""
passed: <uvalib-pagefind-search> › keeps focus in the field after Clear and Escape
passed: <uvalib-pagefind-search> › moves focus to the first new result after Load more results
passed: <uvalib-pagefind-search> › reports the settled search once, and filter changes
passed: <uvalib-pagefind-search> › adds the trailing slash bundle paths need, here and in merge-index
passed: <uvalib-pagefind-search> › loads a real bundle from a bundle-path without its slash
passed: <uvalib-pagefind-search> › keeps its own container, and ignores JSON of the wrong shape
passed: <uvalib-pagefind-search> › destroys Pagefind when removed, and starts afresh when inserted again
passed: <uvalib-pagefind-search> › works again with the real UI after being removed and inserted
passed: <uvalib-pagefind-search> › holds the height of the label and field before Pagefind draws them
passed: <uvalib-pagefind-search> › lets Escape leave an empty field
passed: <uvalib-pagefind-search> › reports a cleared search, and follows Back and Forward through ?q=
passed: <uvalib-pagefind-search> › settles only once the results have loaded
passed: <uvalib-pagefind-search> › reads the count from the message, whatever digits the query holds
passed: <uvalib-pagefind-search> › says so, and reports it, when Pagefind cannot be loaded
test/presets.test.ts — 155 passed (60.4 s)
passed: playground presets › has the presets from the spec, in order
passed: playground presets › lists every example once, grouped by component in menu order
passed: playground presets › example ids are URL fragments that cannot be read as a #files= share link
passed: playground presets › examples cover each header variant in shadow and no-shadow-dom modes
passed: playground presets › main-navigation shows the default main nav and a slot="main-nav" override
passed: playground presets › breadcrumbs sits between the header and main; the JS example re-renders from items
passed: playground presets › date-histogram-decades: a decade sets the date range, Clear clears the chart, and the page passes axe
passed: playground presets › combobox: choosing a person and a subject fills the form, and the page passes axe
passed: playground presets › filter-drawer: a sidebar at 1000px, a modal panel at 400px; filters and the count work, axe passes (1000px)
passed: playground presets › filter-drawer: a sidebar at 1000px, a modal panel at 400px; filters and the count work, axe passes (400px)
passed: playground presets › back-to-top: shown after scrolling, back to the h1, and axe passes
passed: playground presets › places-map: Leaflet from the (stubbed) CDN draws the markers, linked to the list, and the page passes axe at 1000px
passed: playground presets › places-map: Leaflet from the (stubbed) CDN draws the markers, linked to the list, and the page passes axe at 400px
passed: playground presets › chip-groups: picking a year fires change, and the page passes axe
passed: playground presets › contents-sidebar and record-metadata render, follow the hash and pass axe
passed: playground presets › record-metadata: the long Participants list shows 8 and a Show all 34 button
passed: playground presets › chip-groups: the sort toggle has a description that describes its radio group
passed: playground presets › contents-headings builds the contents from the report headings; breadcrumbs-search renders
passed: playground presets › a photo grid inside a lightbox opens the viewer, and page links do too
passed: playground presets › image versions: the viewer compares the two versions over the photo
passed: playground presets › image regions: outlines over the photo, the list beside it, the page’s buttons, and the viewer
passed: playground presets › withCdnBase replaces every {{CDN}} token and leaves the original untouched
passed: playground presets › analytics logs the components' events, with no analytics element and nothing sent
passed: playground presets › results-toolbar filters, counts, shows the empty state and loading, and passes axe
passed: playground presets › results-list hides rows that do not match, marks the word, and passes axe
passed: playground presets › pagefind-search searches the demo index and passes axe
passed: playground presets › todays-hours loads the published library-list snapshot and shows hours
passed: playground presets › weekly-hours loads the published library-list snapshot and shows hours
passed: playground presets › dark-mode › opts in, and runs the anti-flash snippet in <head> next to tokens.css and base.css
passed: playground presets › dark-mode › the README documents the same snippet
passed: playground presets › dark-mode › the snippet sets data-uva-color-scheme="system" for a stored null
passed: playground presets › dark-mode › the snippet sets data-uva-color-scheme="dark" for a stored dark
passed: playground presets › dark-mode › the snippet sets data-uva-color-scheme="light" for a stored light
passed: playground presets › dark-mode › the snippet sets data-uva-color-scheme="system" for a stored bogus
passed: playground presets › dark-mode › the snippet does nothing without light-dark() support
passed: playground presets › dark-mode › renders the Theme control and the dark palette for a stored Dark
passed: playground presets › events › reserves the loaded cards' height before the script runs (390px)
passed: playground presets › events › reserves the loaded cards' height before the script runs (900px)
passed: playground presets › events › reserves the loaded cards' height before the script runs (1400px)
passed: playground presets › search-results › reserves the loaded results' height before the script runs (390px)
passed: playground presets › search-results › reserves the loaded results' height before the script runs (1280px)
passed: playground presets › full-page › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › full-page › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › pre-footer › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › pre-footer › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › theming › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › theming › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › light-dom-host-css › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › light-dom-host-css › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › dark-mode › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › dark-mode › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › buttons-forms › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › buttons-forms › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › back-to-top › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › back-to-top › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › vendor-header › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › vendor-header › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › site-navigation › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › site-navigation › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › site-name › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › site-name › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › main-navigation › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › main-navigation › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › header-full-shadow › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › header-full-shadow › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › header-full-light › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › header-full-light › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › header-vendor-shadow › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › header-vendor-shadow › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › header-vendor-light › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › header-vendor-light › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › alerts › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › alerts › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › breadcrumbs › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › breadcrumbs › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › breadcrumbs-standalone › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › breadcrumbs-standalone › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › breadcrumbs-search › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › breadcrumbs-search › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › collection-cards › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › collection-cards › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › photo-card › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › photo-card › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › section-pager › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › section-pager › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › numbered-pager › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › numbered-pager › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › tabs › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › tabs › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › person-cards › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › person-cards › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › story-card › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › story-card › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › load-more › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › load-more › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › load-more-unknown-total › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › load-more-unknown-total › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › chip-groups › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › chip-groups › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › contents-sidebar › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › contents-sidebar › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › contents-headings › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › contents-headings › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › record-metadata › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › record-metadata › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › photo-grid › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › photo-grid › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › photo-grid-badges › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › photo-grid-badges › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › page-images › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › page-images › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › image-regions › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › image-regions › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › image-versions › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › image-versions › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › places-map › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › places-map › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › search-facets › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › search-facets › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › search-results › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › search-results › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › pagefind-search › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › pagefind-search › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › results-toolbar › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › results-toolbar › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › results-list › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › results-list › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › date-histogram › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › date-histogram › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › date-histogram-decades › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › date-histogram-decades › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › combobox › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › combobox › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › filter-drawer › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › filter-drawer › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-filter-shadow › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-filter-shadow › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-filter-light › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-filter-light › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-date-range-shadow › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-date-range-shadow › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-date-range-light › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-date-range-light › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-date-histogram-shadow › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-date-histogram-shadow › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › uvalib-date-histogram-light › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › uvalib-date-histogram-light › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › todays-hours › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › todays-hours › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › weekly-hours › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › weekly-hours › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › events › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › events › renders against dist-cdn with defined components, one main and no errors
passed: playground presets › analytics › loads components through {{CDN}} and never from the internal CDN
passed: playground presets › analytics › renders against dist-cdn with defined components, one main and no errors
test/result-list.test.ts — 22 passed (1.1 s)
passed: base.css .uvalib-result-list › is a plain list: no bullets, one link per row plus named actions
passed: base.css .uvalib-result-list › wide: the actions sit at the end of the row, beside the title
passed: base.css .uvalib-result-list › phones: the actions wrap below the text, and nothing scrolls sideways at 320px
passed: base.css .uvalib-result-list › follows its own width: in a 250px sidebar of a wide page the actions wrap below
passed: base.css .uvalib-result-list › follows its own width: a list wider than a narrow page keeps its actions at the end
passed: base.css .uvalib-result-list › a heading title is balanced and the snippet wraps pretty; a title that is the link is not balanced
passed: base.css .uvalib-result-list › rows skip rendering off screen (content-visibility) with a steady placeholder size
passed: base.css .uvalib-result-list › renders thousands of rows: off-screen rows stay in the DOM, reachable and findable
passed: base.css .uvalib-result-list › forced colors: the highlight is drawn in system Highlight colours, still bold
passed: base.css .uvalib-result-list › a mark outside a snippet is left to the page
passed: base.css .uvalib-result-list › light › a highlighted term is bold and at least AA (here AAA) on its highlight
passed: base.css .uvalib-result-list › light › title, meta and snippet text pass AA on the page
passed: base.css .uvalib-result-list › light › has no axe violations
passed: base.css .uvalib-result-list › dark › a highlighted term is bold and at least AA (here AAA) on its highlight
passed: base.css .uvalib-result-list › dark › title, meta and snippet text pass AA on the page
passed: base.css .uvalib-result-list › dark › has no axe violations
passed: base.css .uvalib-result-list › light, base.css alone › a highlighted term is bold and at least AA (here AAA) on its highlight
passed: base.css .uvalib-result-list › light, base.css alone › title, meta and snippet text pass AA on the page
passed: base.css .uvalib-result-list › light, base.css alone › has no axe violations
passed: base.css .uvalib-result-list › dark, base.css alone › a highlighted term is bold and at least AA (here AAA) on its highlight
passed: base.css .uvalib-result-list › dark, base.css alone › title, meta and snippet text pass AA on the page
passed: base.css .uvalib-result-list › dark, base.css alone › has no axe violations
test/results-classes.test.ts — 25 passed (551 ms)
passed: base.css badges, toolbar, empty state and skeletons › the category badge is the uvalib-card chip: same colours, shape and size
passed: base.css badges, toolbar, empty state and skeletons › status badges differ by more than colour: each has its own word, and a decorative icon
passed: base.css badges, toolbar, empty state and skeletons › the toolbar puts the controls in one row and the summary at the end
passed: base.css badges, toolbar, empty state and skeletons › at 28em a search form and a growing field stack full width too
passed: base.css badges, toolbar, empty state and skeletons › hidden hides every class, though each sets display
passed: base.css badges, toolbar, empty state and skeletons › the toolbar stacks at 320px with no horizontal scroll
passed: base.css badges, toolbar, empty state and skeletons › the toolbar follows its own width: in a 250px sidebar of a wide page it stacks
passed: base.css badges, toolbar, empty state and skeletons › the toolbar follows its own width: wider than a narrow page, it stays a row
passed: base.css badges, toolbar, empty state and skeletons › the empty state heading is balanced and its sentence wraps pretty; badges are not balanced
passed: base.css badges, toolbar, empty state and skeletons › the empty state centres a heading, a sentence and an action
passed: base.css badges, toolbar, empty state and skeletons › skeletons reserve their height: a 3:2 box, and a text line as tall as a line of text
passed: base.css badges, toolbar, empty state and skeletons › reduced motion: no shimmer
passed: base.css badges, toolbar, empty state and skeletons › forced colors: badges and skeletons keep a visible border
passed: base.css badges, toolbar, empty state and skeletons › light › every badge has a text label at AA or better; status badges reach AAA
passed: base.css badges, toolbar, empty state and skeletons › light › a count badge on media is AAA over a white or a black image
passed: base.css badges, toolbar, empty state and skeletons › light › has no axe violations
passed: base.css badges, toolbar, empty state and skeletons › dark › every badge has a text label at AA or better; status badges reach AAA
passed: base.css badges, toolbar, empty state and skeletons › dark › a count badge on media is AAA over a white or a black image
passed: base.css badges, toolbar, empty state and skeletons › dark › has no axe violations
passed: base.css badges, toolbar, empty state and skeletons › light, base.css alone › every badge has a text label at AA or better; status badges reach AAA
passed: base.css badges, toolbar, empty state and skeletons › light, base.css alone › a count badge on media is AAA over a white or a black image
passed: base.css badges, toolbar, empty state and skeletons › light, base.css alone › has no axe violations
passed: base.css badges, toolbar, empty state and skeletons › dark, base.css alone › every badge has a text label at AA or better; status badges reach AAA
passed: base.css badges, toolbar, empty state and skeletons › dark, base.css alone › a count badge on media is AAA over a white or a black image
passed: base.css badges, toolbar, empty state and skeletons › dark, base.css alone › has no axe violations
test/search-tracker.test.ts — 12 passed (749 ms)
passed: createSearchTracker › is exported from base.js and analytics.js
passed: createSearchTracker › typed: sends once the query has stayed the same for the debounce
passed: createSearchTracker › defaults to a 1 s debounce
passed: createSearchTracker › settled: sends at once, and drops a typed search still waiting
passed: createSearchTracker › a count of 0 is sent; an unknown or invalid count is left out
passed: createSearchTracker › never twice in a row for the same key (Enter again, a re-render)
passed: createSearchTracker › restored: a search from the URL or Back/Forward is not sent, nor the same one again
passed: createSearchTracker › cancel (a clear or an error) drops the waiting search; reset makes the same one count
passed: createSearchTracker › an empty query is never sent, and typing one cancels the waiting search
passed: createSearchTracker › reports from `element`, so a no-analytics ancestor silences it
passed: createSearchTracker › follows the page opt-out
passed: createSearchTracker › sends the query only as the site-search keyword, never as an event
test/share.test.ts — 13 passed (314 ms)
passed: share link encoding › round-trips ascii content
passed: share link encoding › round-trips non-ASCII content
passed: share link encoding › round-trips 50 KB file content
passed: share link encoding › rejects links that are not playground projects › a hash longer than 256 KB, before decoding it
passed: share link encoding › rejects links that are not playground projects › a high-ratio payload that inflates past 2 MB
passed: share link encoding › rejects links that are not playground projects › valid base64url that is not deflate data
passed: share link encoding › rejects links that are not playground projects › text that is not base64url
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of an array
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of an empty object
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of no index.html
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of a non-string content
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of a null file
passed: share link encoding › rejects links that are not playground projects › well-formed deflate of not JSON
test/site-alerts.test.ts — 53 passed (4.0 s)
passed: site-alerts (shadow) › renders the banner, the list and the regional alerts by default
passed: site-alerts (shadow) › lists the most severe first, with severity in text, not colour alone
passed: site-alerts (shadow) › show picks the parts
passed: site-alerts (shadow) › titles are h2 by default; heading-level sets the level
passed: site-alerts (shadow) › critical alerts have no dismiss button; others are named for their alert
passed: site-alerts (shadow) › dismiss calls dismiss(uuid) and moves focus to the next alert, never <body>
passed: site-alerts (shadow) › with no alert left, focus goes to <main>
passed: site-alerts (shadow) › shows Information alerts until closed here, though the headless element counts them seen
passed: site-alerts (shadow) › hides a Warning the headless element has as seen; keeps Critical alerts
passed: site-alerts (shadow) › follows a close in another tab (storage event)
passed: site-alerts (shadow) › forgets closed alerts that are no longer in the data
passed: site-alerts (shadow) › a <site-alerts> moved in the page keeps the same shared headless element
passed: site-alerts (shadow) › re-renders on update events and fires site-alerts-change with the count
passed: site-alerts (shadow) › a status change (offline) renders nothing new
passed: site-alerts (shadow) › inserts the body HTML (links kept)
passed: site-alerts (shadow) › no-style keeps the severity text visually hidden and the icons sized
passed: site-alerts (shadow) › at 320px nothing overflows and the dismiss button clears the text
passed: site-alerts (shadow) › forced colors: every alert keeps a system-colour border
passed: site-alerts (light) › renders the banner, the list and the regional alerts by default
passed: site-alerts (light) › lists the most severe first, with severity in text, not colour alone
passed: site-alerts (light) › show picks the parts
passed: site-alerts (light) › titles are h2 by default; heading-level sets the level
passed: site-alerts (light) › critical alerts have no dismiss button; others are named for their alert
passed: site-alerts (light) › dismiss calls dismiss(uuid) and moves focus to the next alert, never <body>
passed: site-alerts (light) › with no alert left, focus goes to <main>
passed: site-alerts (light) › shows Information alerts until closed here, though the headless element counts them seen
passed: site-alerts (light) › hides a Warning the headless element has as seen; keeps Critical alerts
passed: site-alerts (light) › follows a close in another tab (storage event)
passed: site-alerts (light) › forgets closed alerts that are no longer in the data
passed: site-alerts (light) › a <site-alerts> moved in the page keeps the same shared headless element
passed: site-alerts (light) › re-renders on update events and fires site-alerts-change with the count
passed: site-alerts (light) › a status change (offline) renders nothing new
passed: site-alerts (light) › inserts the body HTML (links kept)
passed: site-alerts (light) › no-style keeps the severity text visually hidden and the icons sized
passed: site-alerts (light) › at 320px nothing overflows and the dismiss button clears the text
passed: site-alerts (light) › forced colors: every alert keeps a system-colour border
passed: site-alerts shared headless element › one <uvalib-alerts headless> feeds every <site-alerts>, and goes with the last
passed: site-alerts shared headless element › a different storage-key or base gets its own element
passed: site-alerts shared headless element › dismissing in one element updates the others
passed: site-alerts shared headless element › warns once for an invalid alerts-env and uses production
passed: site-alerts body sanitizing › uses setHTML() with the allowlist where the browser has it
passed: site-alerts script load failure › warns once, renders nothing and leaves the page alone
passed: site-alerts accessibility › shadow, light: no axe violations at any impact; text AAA
passed: site-alerts accessibility › shadow, dark: no axe violations at any impact; text AAA
passed: site-alerts accessibility › light, light: no axe violations at any impact; text AAA
passed: site-alerts accessibility › light, dark: no axe violations at any impact; text AAA
passed: site-alerts analytics › one content impression per alert shown, never twice across elements or re-renders
passed: site-alerts analytics › only alerts an element actually shows are reported
passed: site-alerts analytics › dismiss sends one event; no impression or event for the dismissed alert after that
passed: site-alerts analytics › a link click in an alert body: link-click with the alert, never the URL
passed: site-alerts analytics › opted out (no-analytics): alerts are shown, nothing is reported
passed: site-alerts analytics › opted out (page): alerts are shown, nothing is reported
passed: site-alerts analytics › names are capped at 100 characters
passed: site-main-nav state (shadow) › still closes on an outside press after being moved while open
passed: site-main-nav state (shadow) › closes the open group when .items changes
passed: site-main-nav state (shadow) › closes the open group when the slotted markup changes
passed: site-main-nav state (shadow) › keeps the newest items-src when it changes mid-fetch
passed: site-main-nav state (shadow) › current page in a single-page app › follows history.pushState (Navigation API currententrychange)
passed: site-main-nav state (shadow) › current page in a single-page app › follows popstate and hashchange
passed: site-main-nav state (shadow) › current page in a single-page app › an explicit current wins over the location
passed: site-main-nav state (shadow) › current page in a single-page app › stops listening when disconnected
passed: site-main-nav state (shadow) › current page in a single-page app › hash routes (#<route> links) › keeps fragment-only hrefs on this page, not joined to root-link-domain
passed: site-main-nav state (shadow) › current page in a single-page app › hash routes (#<route> links) › marks the link whose hash the page has, following pushState
passed: site-main-nav state (shadow) › current page in a single-page app › hash routes (#<route> links) › marks nothing for a hash none of the links has
passed: site-main-nav state (shadow) › current page in a single-page app › hash routes (#<route> links) › marks the first link while the page has no hash
passed: site-main-nav state (shadow) › current page in a single-page app › hash routes (#<route> links) › a click on a link closes the open group; a modified click keeps it open
passed: site-main-nav state (light) › still closes on an outside press after being moved while open
passed: site-main-nav state (light) › closes the open group when .items changes
passed: site-main-nav state (light) › closes the open group when the slotted markup changes
passed: site-main-nav state (light) › keeps the newest items-src when it changes mid-fetch
passed: site-main-nav state (light) › current page in a single-page app › follows history.pushState (Navigation API currententrychange)
passed: site-main-nav state (light) › current page in a single-page app › follows popstate and hashchange
passed: site-main-nav state (light) › current page in a single-page app › an explicit current wins over the location
passed: site-main-nav state (light) › current page in a single-page app › stops listening when disconnected
passed: site-main-nav state (light) › current page in a single-page app › hash routes (#<route> links) › keeps fragment-only hrefs on this page, not joined to root-link-domain
passed: site-main-nav state (light) › current page in a single-page app › hash routes (#<route> links) › marks the link whose hash the page has, following pushState
passed: site-main-nav state (light) › current page in a single-page app › hash routes (#<route> links) › marks nothing for a hash none of the links has
passed: site-main-nav state (light) › current page in a single-page app › hash routes (#<route> links) › marks the first link while the page has no hash
passed: site-main-nav state (light) › current page in a single-page app › hash routes (#<route> links) › a click on a link closes the open group; a modified click keeps it open
test/site-main-nav.test.ts — 74 passed (6.7 s)
passed: site-main-nav (shadow) › renders the bundled snapshot: four groups with their links
passed: site-main-nav (shadow) › is one navigation landmark named "Main", or from label
passed: site-main-nav (shadow) › uses the disclosure pattern: buttons controlling hidden lists, no ARIA menus
passed: site-main-nav (shadow) › gives each instance its own ids
passed: site-main-nav (shadow) › a click toggles a group, and only one is open at a time
passed: site-main-nav (shadow) › Enter toggles a group
passed: site-main-nav (shadow) › Space toggles a group
passed: site-main-nav (shadow) › Escape closes the panel and returns focus to its button
passed: site-main-nav (shadow) › closes when focus leaves the nav
passed: site-main-nav (shadow) › closes on a pointerdown outside the nav, not inside it
passed: site-main-nav (shadow) › arrow keys, Home and End move between the top-level buttons
passed: site-main-nav (shadow) › ArrowDown on an open button enters its panel; arrows, Home and End move inside
passed: site-main-nav (shadow) › joins relative hrefs to root-link-domain and keeps absolute ones
passed: site-main-nav (shadow) › lays the accordion out in flow, with the same disclosure buttons
passed: site-main-nav (shadow) › lays the bar out with the live look
passed: site-main-nav (shadow) › has no axe violations at any impact at 1280px, closed
passed: site-main-nav (shadow) › has no axe violations at any impact at 1280px, open
passed: site-main-nav (shadow) › has no axe violations at any impact at 390px, closed
passed: site-main-nav (shadow) › has no axe violations at any impact at 390px, open
passed: site-main-nav (shadow) › current page › marks the matching link and its group button, ignoring query, hash and a trailing slash
passed: site-main-nav (shadow) › current page › shows the group marker as bold with a thick underline, not colour alone
passed: site-main-nav (shadow) › current page › matches on host and path: another host or path marks nothing
passed: site-main-nav (shadow) › current page › treats www. and the bare host as the same site
passed: site-main-nav (shadow) › current page › marks one link when two differ only by hash: the one with the same hash, else the one without
passed: site-main-nav (shadow) › current page › defaults to the page location
passed: site-main-nav (shadow) › slot="main-nav" markup › replaces the snapshot, and the source stays hidden
passed: site-main-nav (shadow) › slot="main-nav" markup › skips invalid children with one warning
passed: site-main-nav (shadow) › slot="main-nav" markup › follows live changes to the markup
passed: site-main-nav (shadow) › slot="main-nav" markup › is read when added after the first render
passed: site-main-nav (shadow) › .items › replaces the snapshot
passed: site-main-nav (shadow) › .items › flattens deeper levels into their group, with one warning
passed: site-main-nav (shadow) › .items › loses to slotted markup
passed: site-main-nav (shadow) › items-src › loads the items from a URL
passed: site-main-nav (shadow) › items-src › loses to .items
passed: site-main-nav (shadow) › items-src › falls back to the snapshot and fires site-main-nav-error after a failed fetch
passed: site-main-nav (shadow) › items-src › falls back to the snapshot and fires site-main-nav-error after a response with no valid entries
passed: site-main-nav (shadow) › items-src › times out a hung fetch
passed: site-main-nav (light) › renders the bundled snapshot: four groups with their links
passed: site-main-nav (light) › is one navigation landmark named "Main", or from label
passed: site-main-nav (light) › uses the disclosure pattern: buttons controlling hidden lists, no ARIA menus
passed: site-main-nav (light) › gives each instance its own ids
passed: site-main-nav (light) › a click toggles a group, and only one is open at a time
passed: site-main-nav (light) › Enter toggles a group
passed: site-main-nav (light) › Space toggles a group
passed: site-main-nav (light) › Escape closes the panel and returns focus to its button
passed: site-main-nav (light) › closes when focus leaves the nav
passed: site-main-nav (light) › closes on a pointerdown outside the nav, not inside it
passed: site-main-nav (light) › arrow keys, Home and End move between the top-level buttons
passed: site-main-nav (light) › ArrowDown on an open button enters its panel; arrows, Home and End move inside
passed: site-main-nav (light) › joins relative hrefs to root-link-domain and keeps absolute ones
passed: site-main-nav (light) › lays the accordion out in flow, with the same disclosure buttons
passed: site-main-nav (light) › lays the bar out with the live look
passed: site-main-nav (light) › has no axe violations at any impact at 1280px, closed
passed: site-main-nav (light) › has no axe violations at any impact at 1280px, open
passed: site-main-nav (light) › has no axe violations at any impact at 390px, closed
passed: site-main-nav (light) › has no axe violations at any impact at 390px, open
passed: site-main-nav (light) › current page › marks the matching link and its group button, ignoring query, hash and a trailing slash
passed: site-main-nav (light) › current page › shows the group marker as bold with a thick underline, not colour alone
passed: site-main-nav (light) › current page › matches on host and path: another host or path marks nothing
passed: site-main-nav (light) › current page › treats www. and the bare host as the same site
passed: site-main-nav (light) › current page › marks one link when two differ only by hash: the one with the same hash, else the one without
passed: site-main-nav (light) › current page › defaults to the page location
passed: site-main-nav (light) › slot="main-nav" markup › replaces the snapshot, and the source stays hidden
passed: site-main-nav (light) › slot="main-nav" markup › skips invalid children with one warning
passed: site-main-nav (light) › slot="main-nav" markup › follows live changes to the markup
passed: site-main-nav (light) › slot="main-nav" markup › is read when added after the first render
passed: site-main-nav (light) › .items › replaces the snapshot
passed: site-main-nav (light) › .items › flattens deeper levels into their group, with one warning
passed: site-main-nav (light) › .items › loses to slotted markup
passed: site-main-nav (light) › items-src › loads the items from a URL
passed: site-main-nav (light) › items-src › loses to .items
passed: site-main-nav (light) › items-src › falls back to the snapshot and fires site-main-nav-error after a failed fetch
passed: site-main-nav (light) › items-src › falls back to the snapshot and fires site-main-nav-error after a response with no valid entries
passed: site-main-nav (light) › items-src › times out a hung fetch
test/site-page-alerts.test.ts — 66 passed (7.4 s)
passed: site-page alerts (shadow) › renders header, list and regional alerts from production by default
passed: site-page alerts (shadow) › places the header alert in <header>, the list band before <main>, regional first in <main>
passed: site-page alerts (shadow) › keeps the alerts first in <main> when content is added later
passed: site-page alerts (shadow) › uses staging with alerts-env="staging"
passed: uvalib-breadcrumbs (shadow) › renders a labelled nav with an ordered list, the last item the current page
passed: uvalib-breadcrumbs (shadow) › uses relative and hash hrefs exactly as written
passed: uvalib-breadcrumbs (shadow) › hides the separators from assistive technology, between items only
passed: uvalib-breadcrumbs (shadow) › makes a final link the current page with aria-current
passed: uvalib-breadcrumbs (shadow) › takes its accessible name from label
passed: uvalib-breadcrumbs (shadow) › does not show the source children themselves
passed: uvalib-breadcrumbs (shadow) › follows child changes: added, removed, href and text
passed: uvalib-breadcrumbs (shadow) › renders an earlier text-only child as plain text, not current
passed: uvalib-breadcrumbs (shadow) › skips children with no text, with one console warning
passed: uvalib-breadcrumbs (shadow) › warns about bare text in the trail
passed: uvalib-breadcrumbs (shadow) › renders a hidden nav when there is no trail
passed: uvalib-breadcrumbs (shadow) › takes items from JS, winning over children, and re-renders on a new array
passed: uvalib-breadcrumbs (shadow) › skips items without a label, with one console warning
passed: uvalib-breadcrumbs (shadow) › exposes the trail as a list even without markers (role="list")
passed: uvalib-breadcrumbs (shadow) › shows unsafe hrefs (javascript:, data:) as text, with one warning
passed: uvalib-breadcrumbs (shadow) › follows links added to an initially empty trail, and their later edits
passed: uvalib-breadcrumbs (shadow) › fires a cancelable uvalib-breadcrumbs-navigate on a plain link click
passed: uvalib-breadcrumbs (shadow) › draws a linked current page in the text colour
passed: uvalib-breadcrumbs (shadow) › passes axe
passed: uvalib-breadcrumbs (shadow) › wraps a long trail at 320px with no horizontal scroll
passed: uvalib-breadcrumbs (shadow) › is at body size (1rem) with underlined links
passed: uvalib-breadcrumbs (shadow) › shows a visible focus ring on its links (keyboard)
passed: uvalib-breadcrumbs (shadow) › keeps only the structural rules with no-style
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › links to a same-origin search with a query, keeping the text
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › ignores a trailing slash or index.html, and takes a list of paths
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › keeps the href for another path, no query, another origin or no referrer
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › only changes the steps that ask for it
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › follows data-return-from added later, and works from items (returnFrom)
passed: uvalib-breadcrumbs (shadow) › data-return-from: back to the search the visitor came from › reports the returned href in uvalib-breadcrumbs-navigate
passed: uvalib-breadcrumbs (no-shadow-dom) › renders a labelled nav with an ordered list, the last item the current page
passed: uvalib-breadcrumbs (no-shadow-dom) › uses relative and hash hrefs exactly as written
passed: uvalib-breadcrumbs (no-shadow-dom) › hides the separators from assistive technology, between items only
passed: uvalib-breadcrumbs (no-shadow-dom) › makes a final link the current page with aria-current
passed: uvalib-breadcrumbs (no-shadow-dom) › takes its accessible name from label
passed: uvalib-breadcrumbs (no-shadow-dom) › does not show the source children themselves
passed: uvalib-breadcrumbs (no-shadow-dom) › follows child changes: added, removed, href and text
passed: uvalib-breadcrumbs (no-shadow-dom) › renders an earlier text-only child as plain text, not current
passed: uvalib-breadcrumbs (no-shadow-dom) › skips children with no text, with one console warning
passed: uvalib-breadcrumbs (no-shadow-dom) › warns about bare text in the trail
passed: uvalib-breadcrumbs (no-shadow-dom) › renders a hidden nav when there is no trail
passed: uvalib-breadcrumbs (no-shadow-dom) › takes items from JS, winning over children, and re-renders on a new array
passed: uvalib-breadcrumbs (no-shadow-dom) › skips items without a label, with one console warning
passed: uvalib-breadcrumbs (no-shadow-dom) › exposes the trail as a list even without markers (role="list")
passed: uvalib-breadcrumbs (no-shadow-dom) › shows unsafe hrefs (javascript:, data:) as text, with one warning
passed: uvalib-breadcrumbs (no-shadow-dom) › follows links added to an initially empty trail, and their later edits
passed: uvalib-breadcrumbs (no-shadow-dom) › fires a cancelable uvalib-breadcrumbs-navigate on a plain link click
passed: uvalib-breadcrumbs (no-shadow-dom) › draws a linked current page in the text colour
passed: uvalib-breadcrumbs (no-shadow-dom) › wraps a long trail at 320px with no horizontal scroll
passed: uvalib-breadcrumbs (no-shadow-dom) › is at body size (1rem) with underlined links
passed: uvalib-breadcrumbs (no-shadow-dom) › shows a visible focus ring on its links (keyboard)
passed: uvalib-breadcrumbs (no-shadow-dom) › keeps only the structural rules with no-style
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › links to a same-origin search with a query, keeping the text
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › ignores a trailing slash or index.html, and takes a list of paths
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › keeps the href for another path, no query, another origin or no referrer
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › only changes the steps that ask for it
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › follows data-return-from added later, and works from items (returnFrom)
passed: uvalib-breadcrumbs (no-shadow-dom) › data-return-from: back to the search the visitor came from › reports the returned href in uvalib-breadcrumbs-navigate
passed: uvalib-breadcrumbs light DOM styles › installs its styles in @layer uvalib, so page CSS wins
test/uvalib-card-grid.test.ts — 20 passed (1.6 s)
passed: uvalib-card-grid (shadow) › is a list of cards
passed: uvalib-card-grid (shadow) › uses 4, 2 and 1 columns at the theme breakpoints
passed: uvalib-card-grid (shadow) › switches to auto-fill when min-card-width is a length
passed: uvalib-card-grid (shadow) › ignores an invalid min-card-width once and keeps 4/2/1
passed: uvalib-card-grid (shadow) › gives cards in a row the same height
passed: uvalib-card-grid (shadow) › picks up a card added later and drops one that leaves
passed: uvalib-card-grid (shadow) › warns once about children that are not cards and keeps them
passed: uvalib-card-grid (shadow) › passes axe
passed: uvalib-card-grid (shadow) › does not scroll horizontally at 320px
passed: uvalib-card-grid (no-shadow-dom) › is a list of cards
passed: uvalib-card-grid (no-shadow-dom) › uses 4, 2 and 1 columns at the theme breakpoints
passed: uvalib-card-grid (no-shadow-dom) › switches to auto-fill when min-card-width is a length
passed: uvalib-card-grid (no-shadow-dom) › ignores an invalid min-card-width once and keeps 4/2/1
passed: uvalib-card-grid (no-shadow-dom) › gives cards in a row the same height
passed: uvalib-card-grid (no-shadow-dom) › picks up a card added later and drops one that leaves
passed: uvalib-card-grid (no-shadow-dom) › warns once about children that are not cards and keeps them
passed: uvalib-lightbox versions: lazy module › a page without versions never loads the comparison; one with versions does, on open
passed: uvalib-lightbox versions (shadow) › checks the versions: drops entries without a label or a usable href, with one warning
passed: uvalib-lightbox versions (shadow) › fewer than two usable versions: no comparison, the image as before
passed: uvalib-lightbox versions (shadow) › takes versions from the versions callback
passed: uvalib-lightbox versions (shadow) › switch (default): one version at a time, the other loaded on first use, then announced
passed: uvalib-lightbox versions (shadow) › switching never moves the layout
passed: uvalib-lightbox versions (shadow) › changing mode never moves the photo, even on a phone where the controls wrap
passed: uvalib-lightbox versions (shadow) › wipe: a labelled slider, the divider, side labels and both notes
passed: uvalib-lightbox versions (shadow) › slider keys: arrows, Shift+arrow (10), Page Up/Down, Home and End; reported once settled
passed: uvalib-lightbox versions (shadow) › wipe: a single click on the photo moves the divider (no drag), announced once settled
passed: uvalib-lightbox versions (shadow) › wipe: a real mouse click on the photo moves the divider; a drag ending on the backdrop does not close
passed: uvalib-lightbox versions (shadow) › wipe in right-to-left: the divider follows the pointer from the right
passed: uvalib-lightbox versions (shadow) › jump buttons set the position; Original names and notes follow
passed: uvalib-lightbox versions (shadow) › the mode control switches between Switch, Reveal and Fade
passed: uvalib-lightbox versions (shadow) › three versions: Reveal and Fade pick which one is compared with the original
passed: uvalib-lightbox versions (shadow) › version-param: restored on open (no event), kept with replaceState, dropped on Next
passed: uvalib-lightbox versions (shadow) › version-param on a hash route, and a switch index
passed: uvalib-lightbox versions (shadow) › opening by a click ignores a leftover version in the address
passed: uvalib-lightbox versions (shadow) › Full size: the original and the version shown or compared, named, in every mode
passed: uvalib-lightbox versions (shadow) › no-analytics: the event still fires, nothing is reported
passed: uvalib-lightbox versions (shadow) › Previous and Next: each image has its own versions (or none), in the current mode
passed: uvalib-lightbox versions (shadow) › hold: the button and the O key show the original while held
passed: uvalib-lightbox versions (shadow) › keyboard order: the image controls, then the comparison, then the regions list
passed: uvalib-lightbox versions (shadow) › regions over the comparison: outlines win a click; elsewhere the click moves the divider
passed: uvalib-lightbox versions (shadow) › reduced motion: switching versions has no transition
passed: uvalib-lightbox versions (shadow) › forced colors: the divider and handle use system colours
passed: uvalib-lightbox versions (shadow) › passes axe in switch, light and dark
passed: uvalib-lightbox versions (shadow) › passes axe in wipe, light and dark
passed: uvalib-lightbox versions (shadow) › passes axe in fade, light and dark
passed: uvalib-lightbox versions (shadow) › reflows at 320px: the controls wrap, no page scroll
passed: uvalib-lightbox versions (shadow) › no-style keeps the stacking, the clip and the divider
passed: uvalib-lightbox versions (no-shadow-dom) › checks the versions: drops entries without a label or a usable href, with one warning
passed: uvalib-lightbox versions (no-shadow-dom) › fewer than two usable versions: no comparison, the image as before
passed: uvalib-lightbox versions (no-shadow-dom) › takes versions from the versions callback
passed: uvalib-lightbox versions (no-shadow-dom) › switch (default): one version at a time, the other loaded on first use, then announced
passed: uvalib-lightbox versions (no-shadow-dom) › switching never moves the layout
passed: uvalib-lightbox versions (no-shadow-dom) › changing mode never moves the photo, even on a phone where the controls wrap
passed: uvalib-lightbox versions (no-shadow-dom) › wipe: a labelled slider, the divider, side labels and both notes
passed: uvalib-lightbox versions (no-shadow-dom) › slider keys: arrows, Shift+arrow (10), Page Up/Down, Home and End; reported once settled
passed: uvalib-lightbox versions (no-shadow-dom) › wipe: a single click on the photo moves the divider (no drag), announced once settled
passed: uvalib-lightbox versions (no-shadow-dom) › wipe: a real mouse click on the photo moves the divider; a drag ending on the backdrop does not close
passed: uvalib-lightbox versions (no-shadow-dom) › wipe in right-to-left: the divider follows the pointer from the right
passed: uvalib-lightbox versions (no-shadow-dom) › jump buttons set the position; Original names and notes follow
passed: uvalib-lightbox versions (no-shadow-dom) › the mode control switches between Switch, Reveal and Fade
passed: uvalib-lightbox versions (no-shadow-dom) › three versions: Reveal and Fade pick which one is compared with the original
passed: uvalib-lightbox versions (no-shadow-dom) › version-param: restored on open (no event), kept with replaceState, dropped on Next
passed: uvalib-lightbox versions (no-shadow-dom) › version-param on a hash route, and a switch index
passed: uvalib-lightbox versions (no-shadow-dom) › opening by a click ignores a leftover version in the address
passed: uvalib-lightbox versions (no-shadow-dom) › Full size: the original and the version shown or compared, named, in every mode
passed: uvalib-lightbox versions (no-shadow-dom) › no-analytics: the event still fires, nothing is reported
passed: uvalib-lightbox versions (no-shadow-dom) › Previous and Next: each image has its own versions (or none), in the current mode
passed: uvalib-lightbox versions (no-shadow-dom) › hold: the button and the O key show the original while held
passed: uvalib-lightbox versions (no-shadow-dom) › keyboard order: the image controls, then the comparison, then the regions list
passed: uvalib-lightbox versions (no-shadow-dom) › regions over the comparison: outlines win a click; elsewhere the click moves the divider
passed: uvalib-lightbox versions (no-shadow-dom) › reduced motion: switching versions has no transition
passed: uvalib-lightbox versions (no-shadow-dom) › forced colors: the divider and handle use system colours
passed: uvalib-lightbox versions (no-shadow-dom) › passes axe in switch, light and dark
passed: uvalib-lightbox versions (no-shadow-dom) › passes axe in wipe, light and dark
passed: uvalib-lightbox versions (no-shadow-dom) › passes axe in fade, light and dark
passed: uvalib-lightbox versions (no-shadow-dom) › reflows at 320px: the controls wrap, no page scroll
passed: uvalib-lightbox versions (no-shadow-dom) › no-style keeps the stacking, the clip and the divider
passed: uvalib-lightbox versions with a different framing (shadow) › frame: percent and pixels (of the version's width and height) place it alike
passed: uvalib-lightbox versions with a different framing (shadow) › an unusable frame is ignored with one warning: the same framing as today
passed: uvalib-lightbox versions with a different framing (shadow) › a crop (centred): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (shadow) › a crop (off-centre): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (shadow) › a crop (pixels): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (shadow) › a crop in Reveal: the crop where it exists, the pattern elsewhere on its side; the original on the other
passed: uvalib-lightbox versions with a different framing (shadow) › a crop in Reveal, right to left: the crop side is on the right
passed: uvalib-lightbox versions with a different framing (shadow) › a crop in Fade: the original fades over its box; regions stay on the original's box
passed: uvalib-lightbox versions with a different framing (shadow) › a frame still needs a positive width and height (one warning)
passed: uvalib-lightbox versions with a different framing (shadow) › without a frame nothing changes: no sizer, no framed class, no regions inset
passed: uvalib-lightbox versions with a different framing (shadow) › the box holds every version at the original's scale; the original lines up in each
passed: uvalib-lightbox versions with a different framing (shadow) › switch: each version at its place; around the original, empty (a pattern, not content)
passed: uvalib-lightbox versions with a different framing (shadow) › switch: a version inside the original (a crop) hides it
passed: uvalib-lightbox versions with a different framing (shadow) › reveal: the version left of the divider; right of it, the original over its box and empty around it
passed: uvalib-lightbox versions with a different framing (shadow) › reveal in right-to-left: the version on the right of the divider
passed: uvalib-lightbox versions with a different framing (shadow) › fade: the original fades over its box; outside it, the version
passed: uvalib-lightbox versions with a different framing (shadow) › regions stay on the original's box in every mode and version
passed: uvalib-lightbox versions with a different framing (shadow) › no layout shift: when the framed version loads, and on mode change at 375px
passed: uvalib-lightbox versions with a different framing (shadow) › reflows at 320px
passed: uvalib-lightbox versions with a different framing (shadow) › passes axe with a frame in switch, light and dark
passed: uvalib-lightbox versions with a different framing (shadow) › passes axe with a frame in wipe, light and dark
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › frame: percent and pixels (of the version's width and height) place it alike
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › an unusable frame is ignored with one warning: the same framing as today
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop (centred): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop (off-centre): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop (pixels): negative x/y and w/h over 100; the box is the original's, the crop at its place
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop in Reveal: the crop where it exists, the pattern elsewhere on its side; the original on the other
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop in Reveal, right to left: the crop side is on the right
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a crop in Fade: the original fades over its box; regions stay on the original's box
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › a frame still needs a positive width and height (one warning)
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › without a frame nothing changes: no sizer, no framed class, no regions inset
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › the box holds every version at the original's scale; the original lines up in each
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › switch: each version at its place; around the original, empty (a pattern, not content)
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › switch: a version inside the original (a crop) hides it
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › reveal: the version left of the divider; right of it, the original over its box and empty around it
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › reveal in right-to-left: the version on the right of the divider
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › fade: the original fades over its box; outside it, the version
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › regions stay on the original's box in every mode and version
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › no layout shift: when the framed version loads, and on mode change at 375px
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › reflows at 320px
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › passes axe with a frame in switch, light and dark
passed: uvalib-lightbox versions with a different framing (no-shadow-dom) › passes axe with a frame in wipe, light and dark
passed: uvalib-lightbox starting version (shadow) › a click opens on the link’s starting version: its name, note and image first; no event
passed: uvalib-lightbox starting version (shadow) › Reveal and Fade starts: wipe:50, fade:30:2
passed: uvalib-lightbox starting version (shadow) › open() honours it; Previous and Next arrive on each link’s own start
passed: uvalib-lightbox starting version (shadow) › a version-param in the address wins on a restore; a click uses the start
passed: uvalib-lightbox starting version (shadow) › an unusable start is ignored with one warning: the original first
passed: uvalib-lightbox starting version (shadow) › a framed start (the original first, the link opens on its expanded frame): framed from the first paint
passed: uvalib-lightbox starting version (no-shadow-dom) › a click opens on the link’s starting version: its name, note and image first; no event
passed: uvalib-lightbox starting version (no-shadow-dom) › Reveal and Fade starts: wipe:50, fade:30:2
passed: uvalib-lightbox starting version (no-shadow-dom) › open() honours it; Previous and Next arrive on each link’s own start
passed: uvalib-lightbox starting version (no-shadow-dom) › a version-param in the address wins on a restore; a click uses the start
passed: uvalib-lightbox starting version (no-shadow-dom) › an unusable start is ignored with one warning: the original first
passed: uvalib-lightbox starting version (no-shadow-dom) › a framed start (the original first, the link opens on its expanded frame): framed from the first paint
test/uvalib-lightbox.test.ts — 71 passed (1.7 s)
passed: lightbox URLs › rewrites a IIIF size to !w,h and keeps the region and the query
passed: lightbox URLs › offers full size only for http(s) and PNG, JPEG, GIF or WebP data images
passed: lightbox URLs › keeps a hash query in the hash after the parameter is removed and written again
passed: lightbox URLs › leaves an ordinary image, including one under a /full/ folder, alone
passed: lightbox URLs › writes the deep-link param in the search, or in the hash on a hash route
passed: lightbox URLs › caps the IIIF request at 2000 device pixels and twice the screen density
passed: uvalib-lightbox (shadow) › opens a dialog named by the caption, focuses Close, and returns focus on close
passed: uvalib-lightbox (shadow) › uses data-caption, then alt, then the link text, then the title
passed: uvalib-lightbox (shadow) › steps with buttons and arrow keys, wraps, and swaps the arrows in RTL
passed: uvalib-lightbox (shadow) › hides previous, next and the counter when there is one image
passed: uvalib-lightbox (shadow) › closes on Escape and on the backdrop, and not on a click inside the panel
passed: uvalib-lightbox (shadow) › ignores a modified click and does not open the same image twice
passed: uvalib-lightbox (shadow) › keeps ?photo= in sync: push on open, replace on step, Back closes, Forward returns
passed: uvalib-lightbox (shadow) › opens from the URL without analytics, and Back stays on this page
passed: uvalib-lightbox (shadow) › puts the param in the hash on a hash route
passed: uvalib-lightbox (shadow) › does not reopen from a mutation after the visitor closes
passed: uvalib-lightbox (shadow) › shows slot details for the open image and moves data-details-id in and back
passed: uvalib-lightbox (shadow) › announces loading and a broken image, and refuses a javascript URL
passed: uvalib-lightbox (shadow) › requests a IIIF image at the viewport size and again on resize, without a new event
passed: uvalib-lightbox (shadow) › enhances links matched by selector, in document order, and skips another lightbox
passed: uvalib-lightbox (shadow) › warns once about a selector that is not valid CSS
passed: uvalib-lightbox (shadow) › reports nothing with no-analytics
passed: uvalib-lightbox (shadow) › uses the focus and surface tokens
passed: uvalib-lightbox (shadow) › has no axe violations closed or open
passed: uvalib-lightbox (shadow) › restores adjacent details on close and can open again
passed: uvalib-lightbox (shadow) › opens again after a DOM move, and Escape still closes it
passed: uvalib-lightbox (shadow) › does not restyle thumbnails, buttons, or closed details
passed: uvalib-lightbox (shadow) › paints the backdrop from the shadow token and details links from the link token
passed: uvalib-lightbox (shadow) › keeps a hash query in the hash when opening from the URL
passed: uvalib-lightbox (shadow) › stays open when another image is chosen before Back finishes
passed: uvalib-lightbox (shadow) › Escape closes a viewer that was reopened before the next frame
passed: uvalib-lightbox (shadow) › does not pull focus back to Close on the frame after open
passed: uvalib-lightbox (shadow) › drops the deep link when the last image is removed and does not reopen
passed: uvalib-lightbox (shadow) › does not show an SVG data URL or rewrite a TIFF IIIF image
passed: uvalib-lightbox (shadow) › ignores hidden links and links inside a details element
passed: uvalib-lightbox (shadow) › removes its click listener from an enclosing shadow root
passed: uvalib-lightbox (shadow) › hides the new-tab text and keeps a focus outline with no-style
passed: uvalib-lightbox (shadow) › keeps 44px controls with no-style
passed: uvalib-lightbox (no-shadow-dom) › opens a dialog named by the caption, focuses Close, and returns focus on close
passed: uvalib-lightbox (no-shadow-dom) › uses data-caption, then alt, then the link text, then the title
passed: uvalib-lightbox (no-shadow-dom) › steps with buttons and arrow keys, wraps, and swaps the arrows in RTL
passed: uvalib-lightbox (no-shadow-dom) › hides previous, next and the counter when there is one image
passed: uvalib-lightbox (no-shadow-dom) › closes on Escape and on the backdrop, and not on a click inside the panel
passed: uvalib-lightbox (no-shadow-dom) › ignores a modified click and does not open the same image twice
passed: uvalib-lightbox (no-shadow-dom) › keeps ?photo= in sync: push on open, replace on step, Back closes, Forward returns
passed: uvalib-lightbox (no-shadow-dom) › opens from the URL without analytics, and Back stays on this page
passed: uvalib-lightbox (no-shadow-dom) › puts the param in the hash on a hash route
passed: uvalib-lightbox (no-shadow-dom) › does not reopen from a mutation after the visitor closes
passed: uvalib-lightbox (no-shadow-dom) › shows slot details for the open image and moves data-details-id in and back
passed: uvalib-lightbox (no-shadow-dom) › announces loading and a broken image, and refuses a javascript URL
passed: uvalib-lightbox (no-shadow-dom) › requests a IIIF image at the viewport size and again on resize, without a new event
passed: uvalib-lightbox (no-shadow-dom) › enhances links matched by selector, in document order, and skips another lightbox
passed: uvalib-lightbox (no-shadow-dom) › warns once about a selector that is not valid CSS
passed: uvalib-lightbox (no-shadow-dom) › reports nothing with no-analytics
passed: uvalib-lightbox (no-shadow-dom) › uses the focus and surface tokens
passed: uvalib-lightbox (no-shadow-dom) › has no axe violations closed or open
passed: uvalib-lightbox (no-shadow-dom) › restores adjacent details on close and can open again
passed: uvalib-lightbox (no-shadow-dom) › opens again after a DOM move, and Escape still closes it
passed: uvalib-lightbox (no-shadow-dom) › does not restyle thumbnails, buttons, or closed details
passed: uvalib-lightbox (no-shadow-dom) › paints the backdrop from the shadow token and details links from the link token
passed: uvalib-lightbox (no-shadow-dom) › keeps a hash query in the hash when opening from the URL
passed: uvalib-lightbox (no-shadow-dom) › stays open when another image is chosen before Back finishes
passed: uvalib-lightbox (no-shadow-dom) › Escape closes a viewer that was reopened before the next frame
passed: uvalib-lightbox (no-shadow-dom) › does not pull focus back to Close on the frame after open
passed: uvalib-lightbox (no-shadow-dom) › drops the deep link when the last image is removed and does not reopen
passed: uvalib-lightbox (no-shadow-dom) › does not show an SVG data URL or rewrite a TIFF IIIF image
passed: uvalib-lightbox (no-shadow-dom) › ignores hidden links and links inside a details element
passed: uvalib-lightbox (no-shadow-dom) › removes its click listener from an enclosing shadow root
passed: uvalib-lightbox (no-shadow-dom) › hides the new-tab text and keeps a focus outline with no-style
passed: uvalib-lightbox (no-shadow-dom) › keeps 44px controls with no-style
test/uvalib-map.test.ts — 75 passed (9.2 s)
passed: uvalib-map (shadow) › draws a marker per place: a link (or a button) named with its count, sized by the count
passed: uvalib-map (shadow) › lists the same places with links, count badges and descriptions
passed: uvalib-map (shadow) › is a labelled region after a skip link and the key instructions
passed: uvalib-map (shadow) › Tab and the arrow keys move between markers, with a tooltip and the list entry highlighted
passed: uvalib-map (shadow) › Enter on a marker fires a cancelable select, and cancelling keeps the page
passed: uvalib-map (shadow) › hovering or focusing a list entry highlights its marker with a ring and a larger dot
passed: uvalib-map (shadow) › hovering a marker highlights its list entry until the pointer leaves the map
passed: uvalib-map (shadow) › opens on the places, or on center and zoom
passed: uvalib-map (shadow) › zoom buttons are 44px, named, focusable with a visible ring, and Space presses them
passed: uvalib-map (shadow) › keeps the attribution, readable and linked
passed: uvalib-map (shadow) › loads tiles from tile-url (stubbed) under the attribution
passed: uvalib-map (shadow) › turns off zoom, fade and marker animations under reduced motion
passed: uvalib-map (shadow) › keeps marker and control borders in forced colors
passed: uvalib-map (shadow) › dark mode: the tiles are filtered, the markers and controls are not
passed: uvalib-map (shadow) › dark mode: dark-tile-url swaps the tiles and drops the filter
passed: uvalib-map (shadow) › follows a change of the page scheme after it renders
passed: uvalib-map (shadow) › passes axe with the map rendered (light)
passed: uvalib-map (shadow) › reflows at 320px: no sideways scroll, the map a sensible height, the list under it
passed: uvalib-map (shadow) › reads the places from a child list, which stays the list
passed: uvalib-map (shadow) › without Leaflet shows only the list, with one console warning
passed: uvalib-map (shadow) › uses window.L when no leaflet property is set
passed: uvalib-map (shadow) › warns once without a label
passed: uvalib-map (shadow) › rebuilds after it is moved in the document
passed: uvalib-map (shadow) › reports select with the label and position, and zoom with the level; never a place
passed: uvalib-map (shadow) › reports nothing with no-analytics, and nothing on render or hover
passed: uvalib-map (shadow) › places whose markers would overlap › places on one point are one group at every zoom, named by the largest with the total
passed: uvalib-map (shadow) › places whose markers would overlap › two places in a group: "1 more place", and place-label sets the noun
passed: uvalib-map (shadow) › places whose markers would overlap › choosing a group of one point spreads a ring; each place is selectable; Escape closes it
passed: uvalib-map (shadow) › places whose markers would overlap › zooming out closes the ring and gives focus back to the group
passed: uvalib-map (shadow) › places whose markers would overlap › near places group, then part when the group is chosen (it zooms in)
passed: uvalib-map (shadow) › places whose markers would overlap › at the maximum zoom, near places that still overlap spread in a ring
passed: uvalib-map (shadow) › places whose markers would overlap › under reduced motion the zoom to a group jumps
passed: uvalib-map (shadow) › places whose markers would overlap › arrow keys, Home and End move between the visible markers, a group counting as one
passed: uvalib-map (shadow) › places whose markers would overlap › a grouped place in the list highlights its group, whose tooltip names it
passed: uvalib-map (shadow) › places whose markers would overlap › passes axe, target-size included, zoomed in on the example with co-located places
passed: uvalib-map (shadow) › places whose markers would overlap › keeps the group distinct in forced colors (a double border)
passed: uvalib-map (no-shadow-dom) › draws a marker per place: a link (or a button) named with its count, sized by the count
passed: uvalib-map (no-shadow-dom) › lists the same places with links, count badges and descriptions
passed: uvalib-map (no-shadow-dom) › is a labelled region after a skip link and the key instructions
passed: uvalib-map (no-shadow-dom) › Tab and the arrow keys move between markers, with a tooltip and the list entry highlighted
passed: uvalib-map (no-shadow-dom) › Enter on a marker fires a cancelable select, and cancelling keeps the page
passed: uvalib-map (no-shadow-dom) › hovering or focusing a list entry highlights its marker with a ring and a larger dot
passed: uvalib-map (no-shadow-dom) › hovering a marker highlights its list entry until the pointer leaves the map
passed: uvalib-map (no-shadow-dom) › opens on the places, or on center and zoom
passed: uvalib-map (no-shadow-dom) › zoom buttons are 44px, named, focusable with a visible ring, and Space presses them
passed: uvalib-map (no-shadow-dom) › keeps the attribution, readable and linked
passed: uvalib-map (no-shadow-dom) › loads tiles from tile-url (stubbed) under the attribution
passed: uvalib-map (no-shadow-dom) › turns off zoom, fade and marker animations under reduced motion
passed: uvalib-map (no-shadow-dom) › keeps marker and control borders in forced colors
passed: uvalib-map (no-shadow-dom) › dark mode: the tiles are filtered, the markers and controls are not
passed: uvalib-map (no-shadow-dom) › dark mode: dark-tile-url swaps the tiles and drops the filter
passed: uvalib-map (no-shadow-dom) › follows a change of the page scheme after it renders
passed: uvalib-map (no-shadow-dom) › passes axe with the map rendered (light)
passed: uvalib-map (no-shadow-dom) › reflows at 320px: no sideways scroll, the map a sensible height, the list under it
passed: uvalib-map (no-shadow-dom) › reads the places from a child list, which stays the list
passed: uvalib-map (no-shadow-dom) › without Leaflet shows only the list, with one console warning
passed: uvalib-map (no-shadow-dom) › uses window.L when no leaflet property is set
passed: uvalib-map (no-shadow-dom) › warns once without a label
passed: uvalib-map (no-shadow-dom) › rebuilds after it is moved in the document
passed: uvalib-map (no-shadow-dom) › reports select with the label and position, and zoom with the level; never a place
passed: uvalib-map (no-shadow-dom) › reports nothing with no-analytics, and nothing on render or hover
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › places on one point are one group at every zoom, named by the largest with the total
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › two places in a group: "1 more place", and place-label sets the noun
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › choosing a group of one point spreads a ring; each place is selectable; Escape closes it
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › zooming out closes the ring and gives focus back to the group
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › near places group, then part when the group is chosen (it zooms in)
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › at the maximum zoom, near places that still overlap spread in a ring
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › under reduced motion the zoom to a group jumps
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › arrow keys, Home and End move between the visible markers, a group counting as one
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › a grouped place in the list highlights its group, whose tooltip names it
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › passes axe, target-size included, zoomed in on the example with co-located places
passed: uvalib-map (no-shadow-dom) › places whose markers would overlap › keeps the group distinct in forced colors (a double border)
passed: uvalib-map (no-shadow-dom, page loads leaflet.css) › keeps 44px zoom buttons, its tooltip colours and attribution
passed: uvalib-map (no-style) › keeps the Leaflet layout and 44px targets in shadow DOM
passed: uvalib-map (no-style) › keeps the Leaflet layout and 44px targets no-shadow-dom
test/uvalib-metadata.test.ts — 53 passed (1.6 s)
passed: uvalib-metadata (shadow) › renders the rows of a <dl> child, with or without row <div>s
passed: uvalib-metadata (shadow) › does not show the source children themselves
passed: uvalib-metadata (shadow) › keeps download attributes and shows sizes, read as "EPUB, 184 KB"