From: Jay Sitter Date: Sat, 17 Jun 2023 23:10:53 +0000 (-0400) Subject: fix(a11y): Add aria-controls for advanced button dropdown X-Git-Url: http://these/git/%22https:/nerdica.net/%7Bpost.creator_id.toString%28%29%7D?a=commitdiff_plain;h=a7b0e2002dd366dae4cdffebd4db6339ad4169c4;p=lemmy-ui.git fix(a11y): Add aria-controls for advanced button dropdown --- diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 4b6003e..b94155c 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -689,12 +689,13 @@ export class PostListing extends Component { data-tippy-content={i18n.t("more")} data-bs-toggle="dropdown" aria-expanded="false" + aria-controls="advancedButtonsDropdown" aria-label={i18n.t("more")} > -
    +
      {!this.myPost ? ( <>
    • {this.reportButton}