| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 title=Hello, world | 1 title=Hello, world |
| 2 | 2 |
| 3 <div class="container"> | |
| 4 | |
| 3 # Hello, world | 5 # Hello, world |
| 4 | 6 |
| 5 Welcome to the Help Center! | 7 Welcome to the Help Center! |
| 8 | |
| 9 <br><br> | |
| 10 | |
| 11 <dl class="accordion"> | |
| 12 <dt role="heading" aria-level="3" class="accordion-heading"> | |
| 13 <button aria-expanded="true" aria-disabled="true" aria-controls="sect1" id=" heading1" class="accordion-toggle-button"> | |
| 14 <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-s econdary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", " Image alt text") }}"> | |
| 15 Section 1 Title | |
| 16 </button> | |
| 17 </dt> | |
| 18 <dd role="region" aria-labelledby="heading1" id="sect1" class="accordion-body" > | |
| 19 Section 1 Content | |
| 20 </dd> | |
| 21 | |
| 22 <dt role="heading" aria-level="3" class="accordion-heading"> | |
|
juliandoucette
2017/09/20 14:19:37
I think that the default (non-js) state is aria-ex
ire
2017/09/25 11:25:17
Yup you're right. My mistake. Also, I realised I d
| |
| 23 <button aria-expanded="true" aria-disabled="true" aria-controls="sect2" id=" heading2" class="accordion-toggle-button"> | |
| 24 <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-s econdary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", " Image alt text") }}"> | |
| 25 Section 2 Title | |
| 26 </button> | |
| 27 </dt> | |
| 28 <dd role="region" aria-labelledby="heading2" id="sect2" class="accordion-body" > | |
| 29 Section 2 Content | |
| 30 </dd> | |
| 31 | |
| 32 <dt role="heading" aria-level="3" class="accordion-heading"> | |
| 33 <button aria-expanded="true" aria-disabled="true" aria-controls="sect3" id=" heading3" class="accordion-toggle-button"> | |
| 34 <img src="/img/png/arrow-icon-secondary.png" srcset="/img/svg/arrow-icon-s econdary.svg 2x" alt="{{ "Toggle Section" | translate("accordion-toggle-icon", " Image alt text") }}"> | |
| 35 Section 3 Title | |
| 36 </button> | |
| 37 </dt> | |
| 38 <dd role="region" aria-labelledby="heading3" id="sect3" class="accordion-body" > | |
| 39 Section 3 Content | |
| 40 </dd> | |
| 41 </dl> | |
| 42 | |
| 43 <br><br> | |
| 44 | |
| 45 </div> | |
| OLD | NEW |