Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 <fieldset> | |
2 <label id="browser-select-label"> | |
3 {{ "Your Browser" | translate("browser-select-label", "Label") }}: | |
4 </label> | |
1 | 5 |
juliandoucette
2017/10/13 13:39:55
NIT: Regarding the no-js state of this component:
ire
2017/10/17 15:03:33
I think I will hide it entirely. Because each sect
ire
2017/10/17 15:03:33
Done.
juliandoucette
2017/10/18 15:04:10
NIT: Adding an id (too) would make them deep linka
ire
2017/10/20 13:40:46
The issue with adding an id was because of section
| |
2 <label id="browser-select-label"> | 6 <div id="browser-select" class="custom-select custom-select-dropdown"> |
3 {{ "Your Browser" | translate("browser-select-label", "Label") }}: | 7 <button class="custom-select-selected" aria-expanded="false" aria-haspopup=" true"> |
4 </label> | 8 </button> |
9 <ul class="custom-select-options" role="menu" tabindex="-1" aria-labelledby= "browser-select-label"> | |
10 {% for browser in browsers %} | |
11 <li class="custom-select-option" role="menuitemradio" aria-checked="false" tabindex="0" data-value="{{ browser.id }}"> | |
12 <span class="has-pre-icon"> | |
13 <span class="pre-icon" style="{{ get_inline_bg('logo-'+product_id) }}" ></span> | |
14 {{ browser.name | translate(browser.id + "-name") }} | |
15 </span> | |
16 </li> | |
17 {% endfor %} | |
18 </ul> | |
19 </div> | |
20 </fieldset> | |
5 | 21 |
6 <div id="browser-select" class="custom-select custom-select-dropdown"> | 22 <script id="browser-select-autodetected" type="text/template">{{ "autodetected" | translate("browser-select-autodetected") }}</script> |
7 <button class="custom-select-selected" aria-expanded="false" aria-haspopup="tr ue"> | |
8 </button> | |
9 <ul class="custom-select-options" role="menu" tabindex="-1" aria-labelledby="b rowser-select-label"> | |
10 {% for browser in browsers %} | |
11 <li class="custom-select-option" role="button" tabindex="0" data-value="{{ b rowser.id }}"> | |
juliandoucette
2017/10/13 13:39:55
NIT/Suggest: role="menuitemradio" aria-checked="fa
ire
2017/10/17 15:03:33
Done.
| |
12 <img src="/img/png/logo-abp.png" srcset="/img/svg/logo-abp.svg 2x"> | |
juliandoucette
2017/10/13 13:39:55
Note: Assuming you will replace these icons
ire
2017/10/17 15:03:33
Yes I mentioned that I am still waiting on the ico
juliandoucette
2017/10/18 15:04:10
Acknowledged.
| |
13 {{ browser.name | translate(browser.id + "-name") }} | |
juliandoucette
2017/10/13 13:39:55
Missing (autodetected) label?
(See comment js fil
ire
2017/10/17 15:03:33
Acknowledged.
| |
14 </li> | |
15 {% endfor %} | |
16 </ul> | |
17 </div> | |
18 | |
LEFT | RIGHT |