Skip to content

Conversation

@dauriamarco
Copy link
Member

Adds arial-labels for favorite action in the launchpad items.


@dauriamarco dauriamarco self-assigned this Jan 22, 2026
@dauriamarco dauriamarco requested a review from a team as a code owner January 22, 2026 17:44
@gemini-code-assist
Copy link

Summary of Changes

Hello @dauriamarco, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the accessibility of the launchpad's favorite functionality. By implementing dynamic aria-label attributes on the favorite icons, it ensures that assistive technologies can accurately convey the purpose of these interactive elements to users. This change improves the overall usability and inclusivity of the launchpad for all users, particularly those with visual impairments.

Highlights

  • Accessibility Enhancement: Added dynamic aria-label attributes to the favorite icons within the launchpad, improving accessibility for users relying on screen readers.
  • New Translatable Keys: Introduced new translatable keys, SI_LAUNCHPAD.ADD_FAVORITE and SI_LAUNCHPAD.REMOVE_FAVORITE, to support localized aria-label texts.
  • Component Logic Update: The SiLaunchpadAppComponent now includes removeFavoriteText and addFavoriteText input properties, providing default localized values for the favorite actions and binding them to the aria-label.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request successfully adds aria-label attributes to the favorite icons in the launchpad, enhancing accessibility. The new translatable keys SI_LAUNCHPAD.ADD_FAVORITE and SI_LAUNCHPAD.REMOVE_FAVORITE are correctly introduced in the SiTranslatableKeys interface and utilized in the si-launchpad-app.component.html and si-launchpad-app.component.ts files. The implementation is clean and directly addresses the feature described in the PR title and body. No issues were found.

@github-actions
Copy link

@dauriamarco dauriamarco force-pushed the fix/lauchpad-fav-label branch from cae4fec to 9d184da Compare January 22, 2026 18:02
@dauriamarco dauriamarco requested a review from a team as a code owner January 22, 2026 18:02
@dauriamarco dauriamarco force-pushed the fix/lauchpad-fav-label branch from 9d184da to 9584b1f Compare January 22, 2026 18:22
@github-actions
Copy link

Code Coverage

Copy link
Member

@spliffone spliffone left a comment

Choose a reason for hiding this comment

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

@dauriamarco @spike-rabbit Do we have any chance to separate the App name, System name and the favorite aria label in the accessibility tree?

* t(() => $localize`:@@SI_LAUNCHPAD.REMOVE_FAVORITE:Remove from favorites`)
* ```
*/
readonly removeFavoriteText = input<TranslatableString>(
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
readonly removeFavoriteText = input<TranslatableString>(
readonly removeFavoriteText = input(

* t(() => $localize`:@@SI_LAUNCHPAD.ADD_FAVORITE:Add to favorites`)
* ```
*/
readonly addFavoriteText = input<TranslatableString>(
Copy link
Member

Choose a reason for hiding this comment

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

I guess the type is unneccessary since you use the t()function.

Suggested change
readonly addFavoriteText = input<TranslatableString>(
readonly addFavoriteText = input(

@spike-rabbit
Copy link
Member

I think the overall accessible behavior is broken. But I have no idea how to do it correct. I will contact the a11y guys.

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.

5 participants