Commit graph

113 commits

Author SHA1 Message Date
erion
ae8d39995d Hide avatar image to screen readers on the status pages, since there is a link present for a user already. 2021-03-07 14:39:18 +01:00
Mouse Reeve
577f5db37b
Merge pull request #680 from arkhi/main
[profile] Fix HTML errors
2021-03-04 14:01:22 -08:00
Fabien Basmaison
8c26d8a514 [profile] Updates for PR:
- Fix duplicated IDs between modals for the same status.
- Remove redundant button (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586743844).
- Remove redundant `role="navigation"` on `<nav>`.
- Add `dir="auto"` back for titles (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586715693).
- Use `exists` instead of `all` for conditional statement (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586716299).
- Fix missing spacing between avatar and username (https://github.com/mouse-reeve/bookwyrm/pull/680#discussion_r586740902).
2021-03-03 22:58:01 +01:00
Fabien Basmaison
a05b14c338 [profile] Various HTML fixes:
- Wrap block level elements within block level elements, not inline.
- Avoid empty blocks.
- Change `<hr>` in lists into allowed type of children.
- Fix duplicated ID (some change that was not propagated across the template?).
- Make the anchor optional in the navbar (interactive elements (`a`, `input`, `button`…) should not appear into other interactive elements).
- Remove redundant `role` on main navigation.
- Make the modal a modal with `role="dialog".
- Use `button` instead of form-less `label`.
2021-03-03 20:10:09 +01:00
Mouse Reeve
be3c7ac90e Fixes boost display 2021-03-02 20:17:32 -08:00
Mouse Reeve
01df4ad321 Small fixes for translation 2021-03-02 09:25:45 -08:00
Mouse Reeve
6a18803417 Catches more template translation moments 2021-02-28 17:10:30 -08:00
Mouse Reeve
5bc4456d4e Merge branch 'main' into review-rate 2021-02-28 10:35:20 -08:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Mouse Reeve
4a10c99026 Fixes handling of ratings in status views and urls 2021-02-25 15:05:51 -08:00
Mouse Reeve
d0c46060e8 Adds stars to book preview in status 2021-02-23 14:00:19 -08:00
Mouse Reeve
f9dd0b0246 Groups in book preview only used by status templates 2021-02-23 13:42:20 -08:00
Mouse Reeve
a0b57837a7 Moves status templates into dir 2021-02-23 13:37:16 -08:00