avatar
Rolf Smeds @rolfsmeds.bsky.social

Unfortunately we just noticed that FF's Find-in-page doesn't work with using the name attribute to make them mutually exclusive if there is a match in multiple in the same name group. It tries to open all of them simultaneously, then closes all but the last match..😑

jun 25, 2025, 10:57 am • 1 0

Replies

avatar
Sara Soueidan @sarasoueidan.com

I think that's what you'd expect from an exclusive accordion, and I would argue that that's one of the reasons accordions (specifically content-heavy accordions) shouldn't be exclusive because they downgrade the usability of the content.

jun 26, 2025, 6:25 pm • 2 0 • view
avatar
Rolf Smeds @rolfsmeds.bsky.social

Well, you would expect to be able to traverse the matches of the search one by one, so that the details open one by one, but it's not like that: all details but the last one become inaccessible to the search results navigation. Chrome and Safari instead open details only for the current match.

jun 26, 2025, 8:37 pm • 0 0 • view
avatar
Sara Soueidan @sarasoueidan.com

Hmm last time I checked (which was a few days ago) Safari didn't expand the element when using find-in-page search. I'm not sure if it's an upgrade I haven't seen yet on my machine. Re expected behavior: yes I too would expect it to open one after another, not all together.

jun 27, 2025, 1:07 pm • 0 0 • view
avatar
Rolf Smeds @rolfsmeds.bsky.social

(as for usability, we use them in our design system documentation, like tabs, for showing code snippets in different languages, so they're short, and users typically want to see only one of them)

jun 26, 2025, 8:40 pm • 0 0 • view
avatar
Rolf Smeds @rolfsmeds.bsky.social

Filed a ticket about this bugzilla.mozilla.org/show_bug.cgi...

jun 25, 2025, 6:30 pm • 0 0 • view