Skip to content

[amp-lightbox:1.0] Bento tracking issue #31052

@realPrimoh

Description

@realPrimoh

High-level requirements

Consideration Ready when Status
Component compatibility Conformance with 0.1 (see below)
Testing Unit tests and e2e tests from 0.1
Internationalization n/a n/a
Analytics n/a n/a
Accessibility Audit performed, 0.1 for reference
Page experience Audit performed
Documentation Written
Storybook Samples written

Component compatibility

Attributes to support:

  • animate-in -> animation (optional)
  • data-close-button-aria-label (optional)
  • scrollable (optional)

Migration Notes:

  • This component does not currently support modifying browser history state.
  • data-close-button-aria-label is not supported and will soon be replaced with support for slot="close-button".
  • animate-in has been renamed to animation

Open tasks:

  • Unit tests
  • Address scrollable prop (is it still necessary? not added for now)
  • Send out events upon open/close or let users pass in a function
  • Modify history state (conformance to 0.1) - AMP only
  • Support slot="close-button" once passthrough and children modes are refactored
  • Add validations to include no-longer-supported attributes for backwards compatibility
  • Cancellable backdrop

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions