[Feature Request]: Add Footer and FloatingFooter design variants to ui5-toolbar

未关闭
#14,283 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
52/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
frontend

调研方向

Start by reading the ui5-toolbar design property and the existing Footer and FloatingFooter variants on ui5-bar. Check how toolbar designs are implemented and tested in the repository, then compare their behavior with the migration requirements in this issue. Done means ui5-toolbar accepts both designs with equivalent footer styling and the relevant tests pass.

由索引模型根据 Issue 内容生成。

描述

feature request Medium Prio TOPIC P
Feature Request Description

ui5-bar deprecated accessibleRole="Toolbar" (docs recommend ui5-toolbar as replacement), but ui5-toolbar only supports design="Solid" and design="Transparent". It is missing design="Footer" and design="FloatingFooter" variants, which are required to migrate footers from Bar to Toolbar.

Without these variants, applications cannot complete the migration path the deprecation notice recommends — the visual styling for footers (inset padding, border, floating shadow) is only available on Bar today.

Proposed Solution

Add "Footer" and "FloatingFooter" to the design property of ui5-toolbar, equivalent to the existing variants on ui5-bar:


This would unblock migration of footer use cases from Bar (where accessibleRole="Toolbar" is deprecated) to Toolbar (which implements the correct arrow-key navigation the WAI-ARIA Toolbar pattern requires).

Proposed Alternatives

No response

Organization

SF

Additional Context
  • ui5-bar deprecation notice states: use ui5-toolbar for multiple interactive controls
  • WAI-ARIA Toolbar pattern requires roving tabindex / arrow-key navigation, which Bar does not implement — applying accessibleRole="Toolbar" on Bar produces a WCAG 2.1.1 + 4.1.2 violation
  • The Footer/FloatingFooter design gap is the sole blocker preventing migration of footer patterns to ui5-toolbar
Priority

Medium

Privacy Policy
  • I’m not disclosing any internal or sensitive information.
主要语言
TypeScript
星标
1.8k
派生
289
平均合并
4 天 5 小时
30 天内合并 PR
33

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UI5/webcomponents 的其他 Issue

查看 UI5/webcomponents 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。