EDS4 logo
@eds/show-more
v4.2.0

ShowMore

Truncate long content with an optional expand/collapse toggle.
  • 8911975: Feature: Improve accessibility support in the ShowMore component

    • Added aria-labelledby and aria-label props to the toggle button
    • Applied inert and aria-hidden to the content container when collapsed to prevent keyboard and screen reader access
    • Set role="region" on the content container only when expanded to provide a named landmark without cluttering the screen reader rotor
  • Updated dependencies [e2323f8]
    • @eds/core@4.2.0
    • @eds/box@4.0.12
    • @eds/button@4.4.6
    • @eds/flex@4.0.12
    • @eds/icon@5.1.3
  • @eds/button@4.4.5
  • Updated dependencies [913701e]
    • @eds/button@4.4.4
    • @eds/core@4.1.3
    • @eds/flex@4.0.11
    • @eds/icon@5.1.2
    • @eds/box@4.0.11
  • Updated dependencies [293a8e7]
    • @eds/icon@5.1.1
    • @eds/button@4.4.3
  • d32e59d: Improvement: Replaced the toggle with a button for better accessibility and added support for dynamic layout adjustments
  • Updated dependencies [d5ac3fa]
    • @eds/icon@5.1.0
    • @eds/button@4.4.2
  • Updated dependencies [37e1a6d]
    • @eds/icon@5.0.0
    • @eds/button@4.4.1
  • Initial release of ShowMore