Skip to content

Conversation

@Stef-Rousset
Copy link

@Stef-Rousset Stef-Rousset commented Nov 6, 2025

🎩 What? Why?

This PR improves accessibility on main_links_mobile_account, by:

  • rendering the close icon focusable, and adding a sr-only text "close"
  • adding the possibility to close modal when navigating on keyboard with space and enter keys
  • setting the focus on avatar when closing the modal with keyboard

This PR is issued from the audit of Angers city (page 29 and 30), and refers to criterias 2.5.3, 4.1.2, 1.3.1, 2.1.1, 2.4.7 and 2.4.3.

📌 Related Issues

Testing

  1. As a logged in user, go to the homepage on mobile view
  2. Click on your avatar
  3. In the account modale, navigate with your keyboard and see that the "x" for closing modal is focusable (screenshot one)
  4. Use space key or enter key to exit modal and see that the focus is set on avatar (screenshot two)
  5. Activate VoiceOver, click on avatar again, navigate with your keyboard on the "x" for closing modal and make sure you hear the word "close" .

📷 Screenshots (optional)

ONE
Capture d’écran 2025-11-06 à 16 25 14

TWO
Capture d’écran 2025-11-06 à 16 25 31

andreslucena and others added 25 commits November 14, 2025 13:36
* Implement changes to the GraphQL moderation types

* Add more reportable types

* Fix spec

* Fix final spec

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

---------

Co-authored-by: Andrés Pereira de Lucena <[email protected]>
* Update API for core module

* Add various fields

* Add static pages

* Add specs for newly added classes

* Fix spec

* Add more specs

* Add user badges to the response

* Consolidate the specs - Followable

* Add specs for badges

* Fix pipeline

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Apply review recommendations

* Apply review recommendations

* Add followers spec

* Fix user report type object description

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Clarified some specs

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Update decidim-core/spec/types/static_page_topic_type_spec.rb

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Fix static pages

* Fix taxonomy taxonomizations_count

* Add component specs

* Remove duplicated fields

* Removed the moderation related types

* Remove taxonomy related fields

* Full revert

* More reverts

* Revert change

* Remove wrong require

---------

Co-authored-by: Andrés Pereira de Lucena <[email protected]>
* Remove Help, Meetings, and Activity from the header navigation

Remove unused locale

Patch the menu

* Implement breadcrumb navigation (decidim#15141)

Co-authored-by: MariaDascaluPublicis <[email protected]>

* Remove the "Global menu" content block (decidim#15135)

Co-authored-by: Tom Greenwood <[email protected]>

* Implement hamburger menu  (decidim#15132)

Co-authored-by: Andrés Pereira de Lucena <[email protected]>
Co-authored-by: MariaDascaluPublicis <[email protected]>

* Add language chooser to header (decidim#15365)

Co-authored-by: MariaDascaluPublicis <[email protected]>
Co-authored-by: MariaDascaluPublicis <[email protected]>

* Fix header redesign found issues (decidim#15434)

Co-authored-by: Alexandru Emil Lupu <[email protected]>

* Add breadcrumb to menu (decidim#15507)

* Add breadcrumb to accountability

* Add breadcrumb to blogs

* Add breadcrumb to debates

* Add breadcrumb to collaborative_texts

* Add breadcrumb to elections

* Add breadcrumb to surveys

* Add breadcrumb to sortitions

* Add breadcrumb to proposals

* Add breadcrumb to meetings

* Fix routing errors

* Revert changes on sortitions to avoid conflicts

---------

Co-authored-by: MariaDascaluPublicis <[email protected]>
Co-authored-by: Tom Greenwood <[email protected]>
Co-authored-by: Andrés Pereira de Lucena <[email protected]>
Co-authored-by: MariaDascaluPublicis <[email protected]>
Co-authored-by: Alexandru Emil Lupu <[email protected]>
* Update the release process documentation

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Apply more review recommendations

* Run spellchecks

* Run spellchecks

---------

Co-authored-by: Andrés Pereira de Lucena <[email protected]>
* Improve backports documentation

* Running specll checks

* Apply suggestions from code review

Co-authored-by: Andrés Pereira de Lucena <[email protected]>

* Add image and explainations

* Remove empty space

---------

Co-authored-by: Andrés Pereira de Lucena <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment