Commit graph

29 commits

Author SHA1 Message Date
Joachim
b27b6a5980 Certain ARIA roles must contain particular children
https://dequeuniversity.com/rules/axe/4.3/aria-required-children

In order to make this work, I had to translate Bulma's style so it doesn't use `ul` and `li` anymore.

The JS code had to be adapted, I also changed `button` to `tab` (seemed like a more relevant name) and added a `scrollIntoView()` on load the active tab is always visible.
2022-02-12 16:14:35 +01:00
Mouse Reeve
21a954c7df Always use underscores in html ids
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Mouse Reeve
58da17d694 Use smaller templatetag modules 2021-05-11 14:41:28 -07:00
Mouse Reeve
029913de32 Logic for rendering a particular compose tab server-side 2021-04-03 13:12:55 -07:00
Ned Zimmerman
263b13f157 Adapt tab handler to vanilla JS, fix focus jump, improve accessible naming of tabs/panels 2021-02-28 14:04:04 -04:00
Ned Zimmerman
b324e668ca Merge branch 'upstream' into tab-keyboard-accessibility 2021-02-28 12:39:56 -04:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Ned Zimmerman
9580bec154 feat: modify tabbed interfaces to support keyboard accessibility (fixes #526) 2021-02-27 11:47:03 -04:00
Mouse Reeve
3f136c40da Uses js pattern for tabs 2021-01-17 20:19:09 -08:00
Mouse Reeve
3e58163f0d refactors content warning button 2021-01-16 19:57:20 -08:00
Mouse Reeve
f61a25cfb1
Merge branch 'main' into html-interaction 2021-01-15 09:45:33 -08:00
Mouse Reeve
7abe39b7d5 Tab change javascript out of html 2021-01-14 15:29:37 -08:00
Mouse Reeve
6c80b128a4 Adds status tests 2021-01-12 14:02:38 -08:00
Mouse Reeve
1e08eeb4c2 Renames custom template tags file 2020-12-12 18:25:57 -08:00
Mouse Reeve
b7f8055ede Fixes review/comment/quote tabs in create status form 2020-11-08 18:23:12 -08:00
Mouse Reeve
404ec82657 Simplify markup for creating status 2020-11-06 13:33:26 -08:00
Mouse Reeve
6aa7522c34 Put status form in a visual distinct box on book page
and clean up create status markup
2020-11-06 11:54:31 -08:00
Mouse Reeve
7bf39d3bf7 html for updated reading progress flow 2020-11-05 16:48:15 -08:00
Mouse Reeve
bf2538cab2 let user set privacy in UI 2020-10-27 15:16:17 -07:00
Mouse Reeve
b7061c0f4d Fixes create status forms 2020-10-27 11:42:17 -07:00
Mouse Reeve
7582540fe9 Remove test print statement 2020-09-30 16:02:27 -07:00
Mouse Reeve
5c7f44dc2d Fixes bug in create status forms 2020-09-30 15:24:44 -07:00
Mouse Reeve
982f734ce7 Use bulma screen-reader-only class 2020-09-30 15:10:37 -07:00
Mouse Reeve
e1a6df54c1 Removes unused snippets 2020-09-29 19:19:37 -07:00
Mouse Reeve
7d0c437371 Disambiguate form ids 2020-09-29 19:14:22 -07:00
Mouse Reeve
50f2f4788e Adds review box to main page layout 2020-09-29 17:43:30 -07:00
Mouse Reeve
dbc6fb1d18 Status form in book page 2020-09-29 11:48:03 -07:00
Mouse Reeve
61fa15a0c2 Book page and review form 2020-09-29 11:00:54 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/templates/snippets/create_status.html (Browse further)