# Articles, page 4

> Part of Tray UI 0.4.1, a design system in plain HTML and CSS (MIT licence). Every page: https://trayui.com/llms.txt

How to build the parts of an interface in plain HTML, CSS and JavaScript, accessible from the start, worked through with the code of Tray UI.

- [Empty states that say what to do next](https://trayui.com/articles/empty-states.md), 18 November 2026: Empty states for a first use, a search with no results, filters that hide everything, an error and no access: one action each, and a count that is read.
- [A slider that says its unit with aria-valuetext](https://trayui.com/articles/slider-aria-valuetext.md), 18 November 2026: A native range input that says "30 km" where it would say "30": aria-valuetext, a visible value, words for the steps, the keys, and Tray UI's slider.
- [A paginated data table that keeps focus](https://trayui.com/articles/paginated-table-focus.md), 18 November 2026: A sortable, paged data table in plain HTML that keeps focus where the person is, says each new sort and page aloud, and stays a real table throughout.
- [An SVG icon sprite inside one script](https://trayui.com/articles/svg-icon-sprite.md), 18 November 2026: Build an SVG sprite of symbol elements from a script, draw each icon with use and currentColor, hide it from screen readers and flip arrows right to left.
- [A one-time code input with paste and autofill](https://trayui.com/articles/one-time-code-input.md), 18 November 2026: A one-time code field that takes a typed code, a pasted one and SMS autofill: one-time-code, inputmode, cells or one field, and why one field can be better.
- [Show password: aria-pressed or a new label](https://trayui.com/articles/show-password-button.md), 18 November 2026: A show password button in HTML: a constant name with aria-pressed, or a name that changes to Hide password. What each says, and which Tray UI uses where.
- [Open Graph images from HTML with Playwright](https://trayui.com/articles/open-graph-images-playwright.md), 18 November 2026: Draw a 1200 by 630 link picture for every page: an HTML template for each kind of page, a Playwright screenshot, a cache that redraws only what changed.
- [Self-hosting a web font with one woff2 file](https://trayui.com/articles/self-host-web-font.md), 18 November 2026: Self-host a variable font from one woff2 file: the @font-face rule, font-display, a preload with crossorigin, CORS for other sites and the OFL licence.
- [An accessible product tour that closes on Escape](https://trayui.com/articles/product-tour-escape.md), 18 November 2026: A product tour in HTML and JavaScript: non-modal steps that point at the page, move focus with each step, close on Escape, can be skipped and hand focus back.
- [An accessible carousel that keeps focus at its end](https://trayui.com/articles/carousel-focus.md), 18 November 2026: A carousel in HTML, CSS and JavaScript: buttons that stop at the ends without losing focus, slide names, no autoplay or a pause, and reduced motion.
- [How to build an accessible dropdown menu in HTML](https://trayui.com/articles/accessible-dropdown-menu.md), 17 November 2026: A menu button in plain HTML and JavaScript: the ARIA roles, the keys, where focus goes, how it closes, and the events, with Tray UI's menu as the example.
- [Toast notifications that screen readers announce](https://trayui.com/articles/toast-notifications-screen-readers.md), 17 November 2026: How to make toast notifications that screen readers announce: a live region in the page first, polite or assertive, timing, focus and reduced motion.

Page 4 of 5, articles 38 to 49 of 50. The other pages: [1](https://trayui.com/articles.md), [2](https://trayui.com/articles/page/2.md), [3](https://trayui.com/articles/page/3.md), [5](https://trayui.com/articles/page/5.md).
