From 7aa2860bd6865f0cf2b59d40a52723a7165136ea Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 25 Jun 2023 01:34:49 -0400 Subject: [PATCH 1/4] fix: Remove invalid class --- src/shared/components/app/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/app/app.tsx b/src/shared/components/app/app.tsx index 3e334376..08ba40e8 100644 --- a/src/shared/components/app/app.tsx +++ b/src/shared/components/app/app.tsx @@ -35,7 +35,7 @@ export class App extends Component {
) ); } diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 48fb5c07..d2fe98de 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 b31e1cdb..c8f73eb3 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 && ( From 1c404c80d36521395b0a9fa548eb2031ae9ea9e0 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 25 Jun 2023 01:36:21 -0400 Subject: [PATCH 3/4] chore(a11y): Remove now-passing jsx-a11y tests from exemptions --- .eslintrc.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index f82e6b06..42c7b586 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -21,14 +21,10 @@ "@typescript-eslint/explicit-module-boundary-types": 0, "@typescript-eslint/no-empty-function": 0, "arrow-body-style": 0, - "jsx-a11y/alt-text": 1, "jsx-a11y/anchor-is-valid": 1, - "jsx-a11y/aria-activedescendant-has-tabindex": 1, "jsx-a11y/aria-role": 1, "jsx-a11y/click-events-have-key-events": 1, - "jsx-a11y/interactive-supports-focus": 1, "jsx-a11y/no-static-element-interactions": 1, - "jsx-a11y/role-has-required-aria-props": 1, "curly": 0, "eol-last": 0, "eqeqeq": 0, From 3f0f05396828e70478dd7a5d41625e5045e3f684 Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Sun, 25 Jun 2023 01:37:36 -0400 Subject: [PATCH 4/4] fix: Fix some classes on private message collapse/expand button --- src/shared/components/private_message/private-message.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/private_message/private-message.tsx b/src/shared/components/private_message/private-message.tsx index c8f73eb3..f91087a1 100644 --- a/src/shared/components/private_message/private-message.tsx +++ b/src/shared/components/private_message/private-message.tsx @@ -111,7 +111,7 @@ export class PrivateMessage extends Component<