Skip to content

Conversation

@fatadel
Copy link
Contributor

@fatadel fatadel commented Jan 23, 2026

The issue fixes #5674.

The original issue mentions inaccessibility of the .treeViewAppendageColumn element (the filename). However, during development I've also noticed inaccessibility of the label frames. As discussed in the matrix channel, for now I just increased their opacity level. Shall we create an issue for further improvement of the dimming functionality? @canova

Appendage Column

Before

Screenshot 2026-01-23 at 13 48 03

After

Screenshot 2026-01-23 at 13 53 08

Label Frames

Before

Screenshot 2026-01-23 at 13 48 11

After

Screenshot 2026-01-23 at 15 37 44

Deploy preview: Before / After

Closes #5674.

@fatadel fatadel requested a review from canova January 23, 2026 15:15
@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.75%. Comparing base (c3eaddf) to head (a4fd515).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5779   +/-   ##
=======================================
  Coverage   85.75%   85.75%           
=======================================
  Files         318      318           
  Lines       31240    31240           
  Branches     8600     8504   -96     
=======================================
  Hits        26790    26790           
  Misses       4020     4020           
  Partials      430      430           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I added a comment about the opacity of the label frames when they are not selected. Let me know what you think!

I've added a before and after profile to the PR's first message. Additional to the images, we usually put these before and after profile links so the person who's reviewing the PR can test it also. It would be great if you can do that in the next PRs. You can find the deploy preview link of this PR in the checks below that's marked as netlify/perf-html/deploy-preview. But also the url itself is very predictable. It's always https://deploy-preview-<PR-number>--perf-html.netlify.app/.

Ah also, now that we have dark mode (still in the main branch only, not deployed yet). Could you also test to see if this works well with the dark mode? You can enable it by going to the home page (https://deploy-preview-5779--perf-html.netlify.app/) and pressing the dark mode checkbox.


.treeViewMainColumn.dim {
opacity: 0.7;
opacity: 0.9;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non selected version of this dimmed color was actually passing the WCAG AAA standards. So it's probably okay to leave it as 0.7 when it's not selected. But it fails the a11y check when it's selected. Can we change the opacity of this only when it's selected (similar to the other one)?

@fatadel fatadel force-pushed the refine-tree-view-a11y branch from 554c509 to a4fd515 Compare January 26, 2026 13:03
@fatadel
Copy link
Contributor Author

fatadel commented Jan 26, 2026

Thanks for your valuable feedback, @canova!

I've refined the changes for dimming, so that now the opacity level is increased only when selected.

I've tested the changes with the Dark Mode - looks good and accessible (see below).

Appendage Column

Screenshot 2026-01-26 at 14 00 57

Label Frames

Screenshot 2026-01-26 at 14 01 03

@fatadel fatadel requested review from canova, julienw and mstange January 26, 2026 13:12
Copy link
Member

@canova canova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates, looks good to me!

Now that you are in the firefox-devtools org, you should be able to merge this PR yourself. You can see our process on how to merge PRs here: https://github.com/firefox-devtools/profiler/blob/main/CONTRIBUTING.md#merging-pull-requests

We either use "create a merge commit" or "squash and merge" depending on the PR. Squash is useful when the PR only has a single commit, and merge commit is useful when we have different commits in the PR that are split up into logical chunks. When we use the merge commit, we try to be more careful on the commit messages and make sure that they are split well. To do that, we do interactive rebasing, squashing and amending commits a lot to have a good commit history. For example, an optional improvement in this PR would be to merge 2nd and 3rd commits. But if you choose to squash, then you don't have to think about that.

@julienw julienw removed their request for review January 26, 2026 15:48
@fatadel fatadel merged commit 4dbcf81 into firefox-devtools:main Jan 26, 2026
21 checks passed
@fatadel fatadel deleted the refine-tree-view-a11y branch January 26, 2026 15:54
@canova canova mentioned this pull request Jan 27, 2026
canova added a commit that referenced this pull request Jan 27, 2026
Lots of exciting changes 🎉:

[arai-a] Put radio buttons into labels (#5738)
[DaniPopes] Update comment for "unique-string" (#5741)
[Karan Pradhan] Hide tooltip filter button in non-sticky tooltips and
add hideFilterButton tests (#5718)
[arai-a] Add a menu to copy the Marker Table as text (#5732)
[arai-a] Make the entire list item clickable for the "Full Range"
(#5742)
[Markus Stange] Move symbol table demangling out of SymbolStore into
SymbolProvider (#5746)
[Markus Stange] Remove SVG asset imports from profile-data.ts (#5747)
[arai-a] Do not apply sticky tooltip on double click (#5754)
[arai-a] Skip the ChartCanvas redraw on the Viewport's internal default
state usage (#5744)
[Markus Stange] Stop blindly extracting uint8array.buffer after calling
compress() (#5753)
[Markus Stange] In the assembly view state, refer to the current symbol
by index (#5755)
[Markus Stange] Fix "scroll to hotspot" functionality in the source view
+ assembly view (#5759)
[Markus Stange] Keep the colorField markerSchema field when processing
profiles in the gecko format (#5760)
[Markus Stange] Implement dark mode (#5740)
[Markus Stange] Fix light-mode colors (#5765)
[Markus Stange] Tweak dark mode colours. (#5767)
[Nazım Can Altınova] Enable some basic type-aware lints (#5775)
[Markus Stange] Allow seeing different assembly code for the same
function (#5349)
[fatadel] Refine tree view a11y (#5779)
[fatadel] Align double-click behavior of stack chart with flame graph
(#5782)
[Markus Stange] Split gz.ts properly into node and browser variants
(#5764)
[Markus Stange] Simplify and optimize the computation of per-call-node
line and address timings (#5770)
[Nazım Can Altınova] Move the dark mode toggle to devtools console
(#5783)
[Nazım Can Altınova] 🔃 Sync: l10n -> main (Jan 27, 2026) (#5785)
[Nazım Can Altınova] Improve Chrome importer marker payload logic
(#5717)
[Markus Stange] Add a Focus Self transform (#5774)
[Nazım Can Altınova] Enable the Turkish locale in production (#5786)


And huge thanks to our localizers 🎉 :

be: Mikalai Udodau
de: Ger
de: Michael Köhler
el: Jim Spentzos
en-CA: chutten
en-CA: Saurabh
en-GB: Ian Neal
en-GB: Saurabh
es-CL: ravmn
fy-NL, nl: Fjoerfoks
fr: Skywarp
fr: Théo Chevalier
fur: Fabio Tomat
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo [:flod]
nl: Fjoerfoks
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: berry
ru: Valery Ledovskoy
sv-SE: Andreas Pettersson
tr: Grk
zh-CN: Olvcpr423
zh-CN: wxie
zh-TW: Pin-guang Chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FAIL contrast on focused + selected .treeViewAppendageColumn element

2 participants