Skip to content

fix(application-header): launchpad Show more/less should have aria-expanded - #2400

Open
spike-rabbit wants to merge 1 commit into
mainfrom
fix/launchpad-expanded-state
Open

fix(application-header): launchpad Show more/less should have aria-expanded#2400
spike-rabbit wants to merge 1 commit into
mainfrom
fix/launchpad-expanded-state

Conversation

@spike-rabbit

@spike-rabbit spike-rabbit commented Jul 23, 2026

Copy link
Copy Markdown
Member

Expose the Show more toggle state through aria-expanded so assistive technologies can identify whether the launchpad app list is expanded.
Always show Show more never Show less.

DEPRECATED: SiLaunchpadFactoryComponent.showLessAppsText input is deprecated and no longer used.
SiLaunchpadFactoryComponent.showMoreAppsText is always displayed, independent of the state.


Documentation.
Examples.
Dashboards Demo.
Playwright report.

Coverage Reports:

Code Coverage

@spike-rabbit
spike-rabbit force-pushed the fix/launchpad-expanded-state branch from c875bad to 862c788 Compare July 23, 2026 10:12
@spike-rabbit spike-rabbit changed the title fix(launchpad): expose expanded state fix(application-header): launchpad Show more/less should have aria-expanded Jul 23, 2026
@spike-rabbit
spike-rabbit force-pushed the fix/launchpad-expanded-state branch from 862c788 to 0f9b1f2 Compare July 23, 2026 10:33
@spike-rabbit
spike-rabbit marked this pull request as ready for review July 23, 2026 10:48
@spike-rabbit
spike-rabbit requested review from a team as code owners July 23, 2026 10:48
@spike-rabbit
spike-rabbit force-pushed the fix/launchpad-expanded-state branch from 0f9b1f2 to e218d34 Compare July 24, 2026 09:05
…-expanded`

Expose the Show more toggle state with aria-expanded so assistive technologies can determine whether the app list is expanded.

DEPRECATED: `SiLaunchpadFactoryComponent.showLessAppsText` input is deprecated and no longer used.
`SiLaunchpadFactoryComponent.showMoreAppsText` is always displayed, independent of the state.
@spike-rabbit
spike-rabbit force-pushed the fix/launchpad-expanded-state branch from e218d34 to bf1b536 Compare July 24, 2026 09:36
@spike-rabbit
spike-rabbit requested a review from panch1739 July 24, 2026 14:46

@panch1739 panch1739 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@spike-rabbit Great!

type="button"
class="btn btn-link btn-show-all dropdown-toggle text-decoration-none"
[class.show]="showAllApps"
[attr.aria-expanded]="showAllApps"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

wondering if there should also be aria-controls to indicate region

@spliffone spliffone left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you add a schematic to remove the input?

@spike-rabbit spike-rabbit mentioned this pull request Jul 27, 2026
10 tasks
@spike-rabbit

Copy link
Copy Markdown
Member Author

I added this to the schematics issues. Will do in another PR.

@spliffone
spliffone enabled auto-merge July 27, 2026 10:10
@spike-rabbit
spike-rabbit force-pushed the fix/launchpad-expanded-state branch from d66834b to bf1b536 Compare July 30, 2026 13:43
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.

4 participants