Skip to content

Commit fb28377

Browse files
committed
GitHub: Don't make entire discussion comments into headings.
1 parent f11e396 commit fb28377

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubA11yFixes.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const DYNAMIC_TWEAKS = [
141141
// approving/requesting changes to a PR, merging a PR. Exclude commits and
142142
// commit references because these contain too much detail and there's no
143143
// way to separate the header from the body.
144-
{selector: '.TimelineItem:not(.js-commit) .TimelineItem-body:not(.my-0):not([id^="ref-commit-"])',
144+
{selector: '.TimelineItem:not(.js-commit) .TimelineItem-body:not(.my-0):not(.discussion-comment):not([id^="ref-commit-"])',
145145
tweak: [makeHeading, 3]},
146146
// Issue listing tables.
147147
{selector: '.js-navigation-container:not(.commits-listing)',

0 commit comments

Comments
 (0)