Closed shuveksha-tuladhar closed 3 weeks ago
Visit the preview URL for this PR (updated for commit ce80ef6):
https://tcl-74-smart-shopping-list--pr37-sd-st-14-2-muq6qvkn.web.app
(expires Sat, 05 Oct 2024 13:14:19 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: 79d73546692f99aad8468c28e36db434e2c190ac
Thank you @dterceroparker . We will work towards implementing light and dark modes once we decide on the CSS framework to use. In the meantime, I have fixed the background color. Additionally, a new issue (#38 ) has been created for the dynamic purchasing icon feature.
Description
This PR introduces a disclosure component that allows users to expand and collapse content sections. The key features include:
aria-expanded
to reflect the current state andaria-controls
to link to the content element.id
attributes for accessible linking between the trigger and content.It also incorporates several enhancements aimed at improving the user interface and overall experience of the list feature:
Share
icon has been added to eachList
, which currently navigates to the Manage List pageDelete
button has been replaced by of a delete icon on each item.Create a list
input has been repositioned to the top of the page for improved visibility and accessibility.Related Issue
Acceptance Criteria
Conceptually, a disclosure is comprised of two parts: a trigger, which users interact with to control the state of the component, and content, which contains the content that is expanded and collapsed by the trigger.
Trigger requirements
Content requirements
Type of Changes
enhancement
Updates
Before
After
Testing Steps / QA Criteria