Skip to content

Conversation

MariaIDineva
Copy link
Contributor

@MariaIDineva MariaIDineva commented Oct 14, 2025

Related Issue(s)

Part of #13490

Description

Adopts a11y breaking changes from Fundamental Styles for Object Status:

  • Adds role="button" and aria-roledescription to Object Status when it's clickable.
  • Adds a new ariaRoleDescription input which the user can use to override the default aria-roledescription for clickable items.
  • Adds a screen reader text to non-clickable elements:
<span class="fd-object-status__sr-only">Object Status</span>
  • Adds an indication color screen reader text when an indication color is provided:
<span class="fd-object-status__sr-only">Indication Color 2</span>
  • Adds a status screen reader text when status is provided - 'negative' | 'critical' | 'positive' | 'informative':
<span class="fd-object-status__sr-only">Informative entry</span>
  • Adds a new statusMessage input which the user can use to override the default screen reader text for the status.
  • Adds translations for all screen reader texts.
  • Transforms all inputs into signals.
  • Allows FdTranslatePipe to accept null in which case it returns the default value, i.e. an empty string.
  • Updates core examples:
    • Removes aria-label.
    • Puts all clickable elements inside a div instead of an a tag.

@MariaIDineva MariaIDineva self-assigned this Oct 14, 2025
@MariaIDineva MariaIDineva added the accessibility use this label for any issue or enhancement related to screenreader/keyboard/etc support label Oct 14, 2025
@MariaIDineva MariaIDineva requested a review from a team October 16, 2025 09:13
@MariaIDineva MariaIDineva changed the title fix(core): adopt a11y breaking changes for Object Status [WIP] fix(core): adopt a11y breaking changes for Object Status Oct 16, 2025
@MariaIDineva MariaIDineva changed the title [WIP] fix(core): adopt a11y breaking changes for Object Status fix(core): adopt a11y breaking changes for Object Status Oct 17, 2025
@MariaIDineva MariaIDineva merged commit 70342ae into feat/adopt-styles-breaking-changes-part-two Oct 22, 2025
7 checks passed
@MariaIDineva MariaIDineva deleted the fix/object-status-breaking-changes-adoption branch October 22, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility use this label for any issue or enhancement related to screenreader/keyboard/etc support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants