From: Jay Sitter Date: Sun, 25 Jun 2023 05:35:34 +0000 (-0400) Subject: fix(a11y): Change divs and links to buttons X-Git-Url: http://these/git/readmes/%7B%60%24%7BwebArchiveUrl%7D/save/static/%7BrepoUrl%7D?a=commitdiff_plain;h=0cc354b26431202f9b67ed638ba3ec5be1c3cc61;p=lemmy-ui.git fix(a11y): Change divs and links to buttons --- diff --git a/src/shared/components/post/post-form.tsx b/src/shared/components/post/post-form.tsx index 6e47832..081792a 100644 --- a/src/shared/components/post/post-form.tsx +++ b/src/shared/components/post/post-form.tsx @@ -585,9 +585,9 @@ export class PostForm extends Component { return ( suggestedTitle && ( -
{ > {I18NextService.i18n.t("copy_suggested_title", { title: "" })}{" "} {suggestedTitle} -
+ ) ); } diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 48fb5c0..d2fe98d 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -248,12 +248,13 @@ export class PostListing extends Component {
- - +
); diff --git a/src/shared/components/private_message/private-message.tsx b/src/shared/components/private_message/private-message.tsx index b31e1cd..c8f73eb 100644 --- a/src/shared/components/private_message/private-message.tsx +++ b/src/shared/components/private_message/private-message.tsx @@ -109,17 +109,17 @@ export class PrivateMessage extends Component<
  • -
    {this.state.collapsed ? ( - + ) : ( - + )} -
    +
  • {this.state.showEdit && (