You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add notes for implicit noopener and hidden=until-found (#21)
* Add note on implicit `noopener` for links set to open in a new window/tab
* Add note on `hidden=until-found` for `details`/`summary` elements
* Rebuild docs
* Patch version bump
Copy file name to clipboardExpand all lines: docs/index.html
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,10 @@ <h2>Block-level link title</h2>
200
200
He was still hurriedly thinking all this through, unable to decide to get out of the bed, when the clock struck quarter to seven. There was a cautious knock at the door near his head. "Gregor", somebody called - it was his mother - "it's quarter to seven. Didn't you want to go somewhere?
201
201
</p>
202
202
</a>
203
+
<h4id="notes-lists">Notes:</h4>
204
+
<p>
205
+
<small><ahref="https://werd.io/2024/browsers-imply-noopener-for-links-in-new-tab" rel="external noopener">Browsers will imply <codetranslate="no">noopener</code></a> for links that open in a new window/tab.</small>
<summary>What payment options do you accept?</summary>
491
-
<p>We accept cash, Visa, American Express, money orders, and personal checks.</p>
495
+
<p>We accept cash, Visa, American Express, money orders, and personal checks.</p>
492
496
</details>
493
497
494
498
<h4id="notes-details">Notes:</h4>
495
-
<p>
496
-
<small>The <codetranslate="no">details</code> element is currently not supported by Internet Explorer. This browsers will <arel="external noopener" href="https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/">display the content in an opened state</a>, as if the <codetranslate="no">open</code> attribute was applied.</small>
497
-
</p>
499
+
<ul>
500
+
<li><small>The <codetranslate="no">details</code> element is currently not supported by Internet Explorer. Browsers will <arel="external noopener" href="https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/">display the content in an opened state</a>, as if the <codetranslate="no">open</code> attribute was applied.</small></li>
501
+
<li><small>Declaring <ahref="https://developer.chrome.com/docs/css-ui/hidden-until-found" rel="external noopener"><codetranslate="no">hidden=until-found</code> on the parent hidden element to make it discoverable</a> by browser search.</small></li>
Copy file name to clipboardExpand all lines: partials/section.interactive.hbs
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,14 @@
6
6
<h3id="subsection-details">Details</h3>
7
7
<details>
8
8
<summary>What payment options do you accept?</summary>
9
-
<p>We accept cash, Visa, American Express, money orders, and personal checks.</p>
9
+
<p>We accept cash, Visa, American Express, money orders, and personal checks.</p>
10
10
</details>
11
11
12
12
<h4id="notes-details">Notes:</h4>
13
-
<p>
14
-
<small>The <codetranslate="no">details</code> element is currently not supported by Internet Explorer. This browsers will <arel="external noopener"href="https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/">display the content in an opened state</a>, as if the <codetranslate="no">open</code> attribute was applied.</small>
15
-
</p>
13
+
<ul>
14
+
<li><small>The <codetranslate="no">details</code> element is currently not supported by Internet Explorer. Browsers will <arel="external noopener"href="https://css-tricks.com/quick-reminder-that-details-summary-is-the-easiest-way-ever-to-make-an-accordion/">display the content in an opened state</a>, as if the <codetranslate="no">open</code> attribute was applied.</small></li>
15
+
<li><small>Declaring <ahref="https://developer.chrome.com/docs/css-ui/hidden-until-found"rel="external noopener"><codetranslate="no">hidden=until-found</code> on the parent hidden element to make it discoverable</a> by browser search.</small></li>
Copy file name to clipboardExpand all lines: partials/section.text-level.hbs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,10 @@
47
47
He was still hurriedly thinking all this through, unable to decide to get out of the bed, when the clock struck quarter to seven. There was a cautious knock at the door near his head. "Gregor", somebody called - it was his mother - "it's quarter to seven. Didn't you want to go somewhere?
48
48
</p>
49
49
</a>
50
+
<h4id="notes-lists">Notes:</h4>
51
+
<p>
52
+
<small><ahref="https://werd.io/2024/browsers-imply-noopener-for-links-in-new-tab"rel="external noopener">Browsers will imply <codetranslate="no">noopener</code></a> for links that open in a new window/tab.</small>
0 commit comments