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/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7BimageUploadUrl%7D?a=commitdiff_plain;h=fb2c9f74916cd61cc738c92c15b29f15ecf106f8;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 1ba9bb1..afe7f89 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -691,12 +691,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}