Skip to content

Comments

fix: correct platform dropdown aria label key#8654

Open
adityagiri3600 wants to merge 1 commit intonodejs:mainfrom
adityagiri3600:fix/platform-dropdown-aria-label
Open

fix: correct platform dropdown aria label key#8654
adityagiri3600 wants to merge 1 commit intonodejs:mainfrom
adityagiri3600:fix/platform-dropdown-aria-label

Conversation

@adityagiri3600
Copy link

Description

Fixes the ariaLabel key used by the platform dropdown in downloads.

  • changed apps/site/components/Downloads/Release/PlatformDropdown.tsx from layouts.download.dropdown.installMethod to layouts.download.dropdown.platform
  • keeps the label aligned with the actual dropdown purpose (platform), improving accessibility semantics

Validation

  • reviewed the downloads dropdown components to confirm this key mismatch was isolated to PlatformDropdown
  • attempted to run formatting checks, but local dependency setup was interrupted during pnpm install --frozen-lockfile, so prettier was unavailable locally
  • CI should run the full lint/test/build checks on PR

Related Issues

Related to accessibility consistency in downloads dropdown labeling

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@adityagiri3600 adityagiri3600 requested a review from a team as a code owner February 22, 2026 09:22
@vercel
Copy link

vercel bot commented Feb 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nodejs-org Ready Ready Preview Feb 22, 2026 9:24am

Request Review

@github-actions
Copy link
Contributor

👋 Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! 🙏

@codecov
Copy link

codecov bot commented Feb 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.11%. Comparing base (2bb1883) to head (514b3ab).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8654      +/-   ##
==========================================
- Coverage   75.13%   75.11%   -0.03%     
==========================================
  Files         104      104              
  Lines        9098     9098              
  Branches      314      314              
==========================================
- Hits         6836     6834       -2     
- Misses       2260     2262       +2     
  Partials        2        2              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@mikeesto mikeesto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants