Skip to content

feat: add accessibility tooltips and labels to framing controls#295

Merged
magic-peach merged 2 commits into
magic-peach:mainfrom
aksharsawhney74-rgb:fix/your-new-feature
May 15, 2026
Merged

feat: add accessibility tooltips and labels to framing controls#295
magic-peach merged 2 commits into
magic-peach:mainfrom
aksharsawhney74-rgb:fix/your-new-feature

Conversation

@aksharsawhney74-rgb
Copy link
Copy Markdown
Contributor

Changes Made

Visible Labels: Added explicit "Fit" and "Fill" text labels to the toggle buttons.

Descriptive Subtitles: Included subtitles ("Letterbox / pillarbox" and "Crop to frame") to provide immediate context for each framing mode.

Accessibility Tooltips: Implemented the title attribute on both buttons to provide descriptive tooltips for desktop users:

Fit: "Fit the image within the frame"

Fill: "Fill the frame by cropping"

Screen Reader Support: Maintained sr-only spans to ensure the component remains fully accessible to users with visual impairments.

Impact
These changes ensure that the framing controls meet the project's accessibility standards and provide a clearer user experience for all users.

Closes #177

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

@aksharsawhney74-rgb is attempting to deploy a commit to the magic-peach1's projects Team on Vercel.

A member of the Team first needs to authorize it.

@magic-peach magic-peach added feature New feature request accessibility Accessibility improvement (a11y) gssoc'26 GirlScript Summer of Code 2026 level:beginner Beginner level - 20 pts size: small Small issue - a few lines of code needs-review Needs maintainer review labels May 15, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
reframe Ready Ready Preview, Comment May 15, 2026 6:46pm

@magic-peach
Copy link
Copy Markdown
Owner

@aksharsawhney74-rgb please fix the errors i am unable to merge because the CI/build is failing

@aksharsawhney74-rgb
Copy link
Copy Markdown
Contributor Author

Hi @magic-peach
I checked the build logs, and the syntax error on line 21 is actually currently sitting in the main branch, which is causing the simulated merge to fail (my branch only has 5 lines in page.tsx). Good news though: I just updated PR #387 to fix this exact syntax error! Once #387 is merged, the CI on this PR should automatically pass.

@magic-peach
Copy link
Copy Markdown
Owner

Screenshot 2026-05-15 at 7 21 07 PM please resolve the error

…x/your-new-feature

git push origin fix/your-new-feature# especially if it merges an updated upstream into a topic branch.
@github-actions github-actions Bot added the ui/ux User interface or experience improvement label May 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ PR Format Check Passed — @aksharsawhney74-rgb

Basic format checks passed. A maintainer will review your code changes.

This does not mean the PR is approved — it just means the format is correct.

@aksharsawhney74-rgb
Copy link
Copy Markdown
Contributor Author

@magic-peach solved the issue
Closes #177

@magic-peach magic-peach merged commit 6174d4c into magic-peach:main May 15, 2026
5 checks passed
@magic-peach magic-peach added gssoc:approved Approved for GSSoC'26 type:accessibility Accessibility type:feature New feature labels May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Accessibility improvement (a11y) feature New feature request gssoc:approved Approved for GSSoC'26 gssoc'26 GirlScript Summer of Code 2026 level:beginner Beginner level - 20 pts needs-review Needs maintainer review size: small Small issue - a few lines of code type:accessibility Accessibility type:feature New feature ui/ux User interface or experience improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Accessibility] Add visible labels to framing control toggle buttons

2 participants