File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,9 @@ function onNodeAdded(target) {
9595 // Make sure diff tables never get treated as a layout table.
9696 for ( elem of target . querySelectorAll ( ".diff-table" ) )
9797 elem . setAttribute ( "role" , "table" ) ;
98+ // Review comment headers.
99+ for ( elem of target . querySelectorAll ( ".review-comment-contents > strong" ) )
100+ makeHeading ( elem , 3 ) ;
98101 }
99102
100103 // Site-wide stuff.
@@ -108,8 +111,8 @@ function onNodeAdded(target) {
108111 elem . setAttribute ( "role" , "table" ) ;
109112 for ( elem of target . querySelectorAll ( ".table-list-item,.Box-body-row,.Box-row" ) )
110113 elem . setAttribute ( "role" , "row" ) ;
111- for ( elem of target . querySelectorAll ( ".d-table" ) ) {
112- // There's one of these inside every .Box-body-row.
114+ for ( elem of target . querySelectorAll ( ".Box-body-row,.Box-row . d-table" ) ) {
115+ // There's one of these inside every .Box-body-row/Box-row .
113116 // It's purely presentational.
114117 elem . setAttribute ( "role" , "presentation" ) ;
115118 // Its children are the cells, but they have no common class.
You can’t perform that action at this time.
0 commit comments