You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d2766f6
Browse filesBrowse the repository at this point in the historyBrowse files
Test browser behavior and audit SQL fixtures with axe (#1701)
* Test observable browser behavior and audit SQL fixtures with axe
* Omit empty shell home links and use readable fixture colors
* Improve contrast for alert descriptions
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
## unreleased
4
4
5
+
- Standard alert descriptions have higher text contrast.
5
6
- An `alert` without `color` uses the info color again, and its `role` attribute no longer starts with a space. ([#1697](https://github.com/sqlpage/SQLPage/issues/1697))
6
7
- New `create_new_text` and `no_results_text` properties on `select` fields translate the dropdown texts "Add …" and "No results found". The row that creates a new value is now announced by screen readers when it is the active option. ([#1699](https://github.com/sqlpage/SQLPage/issues/1699))
7
8
- The `table` component can fetch and display HTML fragments in selected columns using `embed`.
@@ -15,6 +16,7 @@
15
16
- Disabled buttons expose their state to assistive technology and cannot be activated.
16
17
- Tracking blocks without links now expose their titles to screen readers.
17
18
- The `shell` sidebar now uses `navbar_title` and preserves the colors of the supplied logo in dark mode.
19
+
- Keyboard users no longer encounter empty home links in the `shell` navigation. Logo-only home links have an accessible name.
18
20
- Chart export menus, tooltips, and series colors now follow the theme surrounding each chart, including in custom shells. Chart labels on colored marks have a contrasting outline that carries over to SVG downloads.
19
21
- Map marker popups follow the surrounding theme so their titles and links stay readable. Map attribution links are underlined.
20
22
- Each `login` component’s labels target its own fields. Set `false AS autofocus` to keep the username field from taking focus when the page opens.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,8 @@ template properties.
74
74
Run `npx playwright test --grep @accessibility` from `tests/end-to-end` to audit
75
75
the official site's component documentation and its live examples in SQLPage's
76
76
stock light and dark themes with axe-core. The normal Playwright suite also runs it.
77
+
CI also audits each browser fixture's initial page once. Run that project locally
78
+
with `AXE_FIXTURES=1 npx playwright test --project=fixture-accessibility`.
77
79
78
80
To show that an issue exists before you fix it, put the reproduction in a fixture and run it against releases with one command, such as `nix run .#reproduce -- repro_721 postgres v0.35.0 v0.36.1 tree`. The second argument is `sqlite` or `postgres`, and `tree` is your working tree. It prints Playwright's output for each version, then a table you can paste into the issue or pull request. Releases run from their Docker images, from v0.29.0 onwards, and Postgres from `docker compose`. Without Nix, run `npm run reproduce --` in `tests/end-to-end` instead.
Copy file name to clipboardExpand all lines: examples/official-site/sqlpage/migrations/01_documentation.sql
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1549,7 +1549,7 @@ INSERT INTO parameter(component, name, description, type, top_level, optional) S
1549
1549
('theme', 'Set to "dark" to use a dark theme.', 'TEXT', TRUE, TRUE),
1550
1550
('footer', 'Muted text to display in the footer of the page. This can be used to display a link to the terms and conditions of your application, for instance. By default, shows "Built with SQLPage". Supports links with markdown.', 'TEXT', TRUE, TRUE),
1551
1551
('preview_image', 'The URL of an image to display as a link preview when the page is shared on social media', 'URL', TRUE, TRUE),
1552
-
('navbar_title', 'The title shown in the navigation bar or sidebar. Defaults to the page title. Set an empty string to show just the logo.', 'TEXT', TRUE, TRUE),
1552
+
('navbar_title', 'The title shown in the navigation bar or sidebar. Defaults to the page title. Set an empty string to show just the logo, if configured. With neither a navigation title nor a logo, there is no home link in the navigation bar.', 'TEXT', TRUE, TRUE),
1553
1553
('target', 'Where the menu items should open: "_blank" for a new tab, "_self" for the same tab, "_parent" for the parent frame, or "_top" for the full body of the window. Set it inside a "menu_item" json object; it has no effect when set directly on the shell.', 'TEXT', TRUE, TRUE),
1554
1554
('class', 'class attribute added to the page''s html element. It can be used to apply custom styling to the whole page through css.', 'TEXT', TRUE, TRUE)
0 commit comments