AEM User Story Example: Accordion Component

Being an AEM tech lead, I’ve sat through countless meetings about ticket creation. One thing that keeps popping up? The struggle to create that ‘perfect’ ticket. You know, the one where everything’s clear, and nobody has to ping you with a dozen follow-up questions.

So, I took a shot at crafting a solid example of a user story. For this one, I’m diving into making a new Accordion Component. It’s gotta be user-friendly, look good, be accessible to everyone, and make life easy for our content authors.

I tried to extend this User Story will a lot of extended requirements and details. It captures:

  1. Business Requirements
  2. Author Requirements
  3. Accessibility Requirements

Curious? Check out my take below. Maybe it’ll help you out the next time you’re scratching your head over a ticket!


Epic: Component Development

Story Title: Accordion Component

User Story:

As a content author,
I want to create an accordion component,
So that I can showcase content in an organized, collapsible format that’s inclusive to all users, including those with accessibility needs.

Description:

We’re gearing up to develop an accordion component that’s not just visually appealing and user-friendly but is also deeply rooted in accessibility principles. This isn’t just a collapsible tool for content, but a beacon of inclusivity, especially for users relying on assistive technologies.

Designs:

[Figma Link or attach mock-ups or wireframes for the Accordion Component.]

Dependencies:

  • Collaboration with the QA team is essential for extensive testing across browsers and in terms of accessibility.

Requirements:

  • The accordion component should support a hierarchy with headers and corresponding content sections.
  • Headers must be clickable, triggering the expansion or collapse of their related content.
  • The accordion should have a default style but should also be customizable to fit various website themes.
  • Animated transitions for expanding and collapsing sections would enhance the user experience.
  • Responsive behavior is essential; the accordion should adapt seamlessly to various screen sizes, including mobile, tablet, and desktop.
  • It should be lightweight, ensuring that it doesn’t significantly affect page load times.
  • Support for nesting accordions (accordion within an accordion) should be considered.
  • An option to search or filter items within the accordion would be a useful feature for content-heavy implementations.

Author Requirements:

  • The Touch UI interface should display clear labels or icons indicating functionality, like “Add”, “Re-order”, or “Delete Accordion Item.”
  • The Touch UI interface should allow content author’s to customize the accordion title; each accordion title added under the multi-field list will render an accordion content area (accordion body) on the editor.html page.
  • Each accordion content area should allow author’s to drag and drop any amount of “Sourced Code Content” Components, allowing for diverse rich content options.
  • A preview option should allow authors to view their changes in real-time before saving or publishing.
  • Expected Touch UI interface:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    ============================================================
    Tab1: Items
    ============================================================
    [multifield]
    -- default: EMPTY
    + (default) componentType = 'container'
    + accordion title label

    ============================================================
    Tab2: Properties
    ============================================================
    [checkbox] Single Item Expansion
    -- default: unchecked
    -- help: Forces a single accordion item to be expanded at a time. Expanding one item will collapse all others.

    [dropdown-multi-select] Expanded Items
    -- default: Select
    -- help: The items that are expanded by default.

    [text-field] ID
    -- default: EMPTY
    -- help: HTML ID attribute to apply to the component.

Accessibility Requirements:

  • ARIA landmarks, roles, and states (like `aria-expanded`) should be implemented for the accordion to convey its status and function to assistive technologies.
  • Logical tab order should be maintained, ensuring that keyboard users navigate through accordion elements in a coherent sequence.
  • A “skip to content” link should be available, permitting users to bypass the accordion if they don’t wish to interact with it.

Acceptance Criteria:

  • The accordion should be responsive, ensuring usability across devices from mobile to desktop.
  • Users must be able to expand or collapse content by clicking/tapping the accordion header.
  • Clear visual indicators, like ‘+’ for collapsed and ‘−’ for expanded sections, should be present.
  • Accordion design should permit a minimum of one item and a maximum of ten items.
  • By default, accordion content should remain collapsed unless an author configures it otherwise.
  • As styled per Figma.

Author Acceptance Criteria:

  • Content authors should be able to drag the accordion component from the component panel and drop it into their desired page location.
  • Authors should find easy-to-identify areas or placeholders within the accordion where they can add text, images, videos, or other content types, from the accordion content area.
  • Rearranging should involve simple drag-and-drop mechanics from the Touch UI interface. If an author wants to move the third accordion item to the first position, they should be able to do this intuitively.
  • Configuration options must be present, allowing authors to set which accordion items are expanded when the page loads, mechanics from the Touch UI interface.
  • An easy-to-spot toggle option should let authors expand or collapse all accordion items with a single click, mechanics from the Touch UI interface.

Accessibility Acceptance Criteria:

  • Keyboard focus should move sequentially through accordion headers using the Tab key. Reverse navigation should be facilitated with Shift+Tab.
  • When focused on an accordion header, pressing Enter should change its state from collapsed to expanded or vice-versa.
  • Screen readers should provide feedback on the accordion’s state and content, such as “Item 1 expanded” or “Item 2 collapsed.”
  • Text-to-background contrast ratios must adhere to WCAG guidelines, ensuring content is discernible for users with visual challenges.
  • Testing should confirm compatibility with widely-used assistive technologies like JAWS and NVDA.

Notes:

In developing the accordion component, it’s paramount to blend aesthetics, functionality, and accessibility. This component reflects our dedication to crafting user-centric and inclusive digital experiences.


Hello, I am an enthusiastic Adobe Community Advisor and a seasoned Lead AEM Developer. I am currently serving as an AEM Technical Lead at MNPDigital.ca, bringing over a decade of extensive web engineering experience and more than eight years of practical AEM experience to the table. My goal is to give back to the AEM Full Stack Development community by sharing my wealth of knowledge with others. You can connect with me on LinkedIn.

Leave a Reply

Your email address will not be published. Required fields are marked *


Back To Top
xx1toto
xx1toto
Situs Toto
situs toto
toto slot
scatter hitam
slot toto
situs toto slot
xx1toto
situs toto
slot toto
Scatter Hitam
Situs toto
toto slot
Scatter Hitam
bandar togel, situs toto slot
bacan4d
toto slot
Situs Toto Slot
situs slot gacor
situs toto slot
Slot Mahjong
xx1toto
situs slot gacor
Situs Toto
xx1toto
xx1toto, Situs Toto Slot
xx1toto
bacansport
bacan4d
xx1toto, situs toto slot, bandar casino
xx1toto, situs toto slot, bandar casino
xx1toto, situs toto, toto slot
xx1toto, Situs Toto Slot
Link Situs Toto Slot
scatter hitam
xx1toto, situs toto, tabel shio
Situs Scatter Hitam Mahjong Wins 3
xx1toto
xx1toto, situs toto slot, bandar togel
situs toto slot
scatter hitam, black scatter, mahjong wins 3
mahjong scatter
situs toto
black scatter, mahjong wins 3
xx1toto
xx1toto
bacan4d
xx1toto, situs toto
bacansport
bacansport
xx1toto
bacansport
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
slot gacor bacan4d
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
Situs Toto, Toto Slot
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
xx1toto
bacansport
xx1toto
bacan4d
xx1toto
xx1toto
bacan4d login situs toto
situs toto slot
linkbacan4d
bacan4d
bacan4d
bacansports
bacan4dslot gacor<
xx1toto
xx1toto
bacan4d
bacan4d
scatter hitam
xx1toto
xx1toto
xx1toto
bacan4d
bacan4d situs toto macau
bacan4d slot gacor x1000
xx1toto scatter hitam
xx1toto
xx1toto
xx1toto
bacan4d slot gacor 2024
bacansport
bacan4d game slot gacor
ts77casino bet 200
bacansport
aplikasi slot
xx1toto scatter hitam
bacan4d login
bacan4d login situs slot gacor
situs toto
xx1toto
xx1toto
bacansport
bacan4d
xx1toto
xx1toto
slottoto
xx1toto
bacan4d login slot gacor
bacan4d slot
ts77casino
ts77casino
ts77casino
ts77casino
Scatter Hitam
Situs Toto
toto slot
Scatter Hitam
Situs Toto
toto slot
bacan4d situs slot toto
scatter hitam
slot mahjong wins 3
mahjong wins 3 black scatter
scatter hitam
ts77casino
ts77casino
tabel shio 2025
bacan4d slot sever thailand
akun slot bet 400
bacan4d slot gacor toto
instagram bacansports
situs toto
bacan4d slot toto
scatter hitam
Situs Toto
scatter hitam
slot bet kecil
bacansports taruhan bola
taruhan bola
facebook bacan4d
Demo Slot
Situs Toto
toto togel
Toto slot gacor
slot gacor bett 200
situs toto
situs toto
bacan4d situs toto 176
bacan4d slot toto 2025
bacansport
situs slot toto
Situs Toto Slot
Bacansports
Bacantoto Situs Toto Slot
xx1toto
xx1toto
xx1toto, situs toto slot
bacan4d
Situs Toto Slot, Situs Togel, toto slot, xx1toto
scatter hitam
Situs Toto Slot, Bandar Togel, Toto macau
Slot Toto
xx1toto, Login Situs Toto
xx1toto, Situs Toto Slot
Situs Toto Slot, Agen Toto Slot 4D, Tabel Shio
xx1toto, situs toto, toto slot, bandar togel
xx1toto, situs black scatter hitam
Situs Toto Slot, Bandar Togel
xx1toto, situs toto
Situs Toto Slot
Situs Toto Slot
Slot Toto
situs toto slot
bacan4d situs idn slot
bacansports
situs toto slot
bacansport
situs toto slot
situs slot terbaru
agen toto, situs toto
situs toto slot
situs toto slot
situs toto slot
bacan4d
bacan4d
bacan4d
situs toto slot
situs toto slot
Slot Mahjong, Scatter Hitam
xx1toto, situs toto slot
situs toto
situs toto
bandar togel, situs toto slot
toto slot
Bacan4d Login Situs Slot Toto
Bacan4d Login Toto Slot
Bacan4d Situs Toto Slot
Link Alternatif Bacan4d Situs Toto Slot
Bacan4d Slot Gacor
Bacan4d Slot Bet 400
Bacantoto Situs Slot
BACANTOTO Situs Toto
toto slot
bacansport
Toto Slot
Bacan4d login
Slot Toto
BACANSPORTS | Slot Gacor Games
Slot Toto
Slot Toto
bacansport
Slot toto
bacansport
bacansport
bacansport
bacansport
bacansport
Bacan4d Link Alternatif
Bacan4d Rtp Slot
bacan4d
ts77casino
taruhan bola
ubobet bola
bacansport
situs taruhan bola indonesia
situs taruhan bola
taruhan bola
judi bola
taruhan bola
bacan4d
toto slot
bacan4d promo
bacantoto casino slot
bacansport
Bacansports Piala Dunia 2026