diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-24 21:23:59 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-24 21:23:59 +0700 |
| commit | 04422f8d237d1af542f2abe5ac5f7be0ab276843 (patch) | |
| tree | af4d7dd5d8bf40f54674a161b9e0facbf9b757a4 /watcher_test.go | |
| parent | 453196d778979e084cbbedf9ba12cea398b84bf8 (diff) | |
| download | ciigo-04422f8d237d1af542f2abe5ac5f7be0ab276843.tar.xz | |
all: conform with Lighthouse recommendations
The foreground color changes to conform with color-contrast
ratio threshold, with score AAA. [1]
Add ARIA role to each section of pages: banner for topbar,
main for page, and contentinfo for footer.
This is to make the webpage more robust and functional no matter
what screen reader technology is used. [2]
For touch devices, increase the line height on Table of Contents.
This is to help users who may have difficulty in confidently targeting or
operating small controls. [3]
[1]: https://dequeuniversity.com/rules/axe/4.11/color-contrast
[2]: https://dequeuniversity.com/rules/axe/4.11/landmark-one-main
[3]: https://dequeuniversity.com/rules/axe/4.11/target-size
Diffstat (limited to 'watcher_test.go')
| -rw-r--r-- | watcher_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watcher_test.go b/watcher_test.go index 210711b..51f044a 100644 --- a/watcher_test.go +++ b/watcher_test.go @@ -105,7 +105,7 @@ func testAdocCreate(t *testing.T, testWatcher *watcher, tdata *test.Data, pathFi t.Fatal(err) } - gotBody = removeFooter(gotBody, 13) + gotBody = removeFooter(gotBody, 14) expBody = tdata.Output[`create.adoc.html`] test.Assert(t, `HTML body`, string(expBody), string(gotBody)) @@ -135,7 +135,7 @@ func testAdocUpdate(t *testing.T, testWatcher *watcher, tdata *test.Data, pathFi t.Fatal(err) } - gotBody = removeFooter(gotBody, 13) + gotBody = removeFooter(gotBody, 14) expBody = tdata.Output[`update.adoc.html`] test.Assert(t, `HTML body`, string(expBody), string(gotBody)) |
