| #302 | dream_mark_up_for_tabs-1999182-301.patch | 23.4 KB | lauriii |
| #299 | mobile-landscape-issue.png | 41.71 KB | aschiwi |
| #298 | manage-display-bartik-mobile.png | 20.21 KB | aschiwi |
| #298 | manage-display-bartik-tablet-desktop.png | 18.81 KB | aschiwi |
| #296 | block-layout-desktop.png | 11.72 KB | aschiwi |
| #296 | content-type-operations-desktop.png | 19.98 KB | aschiwi |
| #296 | manage-display-desktop.png | 18.1 KB | aschiwi |
| #296 | edit-node-mobile.png | 16.41 KB | aschiwi |
| #296 | edit-node-tablet.png | 16.45 KB | aschiwi |
| #296 | edit-node-desktop.png | 16.94 KB | aschiwi |
| #296 | manage-display-tablet.png | 20.34 KB | aschiwi |
| #296 | manage-display-mobile.png | 14.28 KB | aschiwi |
| #296 | manage-display-open-mobile.png | 21.24 KB | aschiwi |
| #291 | interdiff-1999182-280-291.txt | 1.24 KB | gints.erglis |
| #291 | dream-markup-for-tabs-1999182-291.patch | 22.93 KB | gints.erglis |
| #290 | Screenshot 2015-09-20 13.33.22.jpg | 42.38 KB | lewisnyman |
| #290 | Screenshot 2015-09-20 13.32.50.jpg | 500.55 KB | lewisnyman |
| #280 | dream-markup-for-tabs-1999182-280.patch | 22.68 KB | gints.erglis |
| #280 | 1999182-275-dream-markup-for-tabs.patch | 22.68 KB | gints.erglis |
| #273 | Screenshot 2015-09-13 10.28.41.jpg | 292.26 KB | lewisnyman |
| #273 | Screenshot 2015-09-13 10.28.17.jpg | 510.05 KB | lewisnyman |
| #272 | interdiff-262-270.txt | 14.29 KB | rainbowarray |
| #270 | 1999182-270-dream-markup-for-tabs.patch | 24.39 KB | rainbowarray |
| #265 | Screen Shot 2015-09-02 at 22.38.22.png | 44.73 KB | emma.maria |
| #265 | Screen Shot 2015-09-02 at 22.29.32.png | 29.52 KB | emma.maria |
| #265 | Screen Shot 2015-09-02 at 22.28.37.png | 42.02 KB | emma.maria |
| #262 | interdiff-1999182-261-262.txt | 2.21 KB | subhojit777 |
| #262 | dream_mark_up_for_tabs-1999182-262.patch | 24.97 KB | subhojit777 |
| #261 | dream_mark_up_for_tabs-1999182-261.patch | 25.12 KB | subhojit777 |
| #255 | interdiff-1999182-246-255.txt | 4.66 KB | pguillard |
| #255 | dream_mark_up_for_tabs-1999182-255.patch | 25.9 KB | pguillard |
| #253 | interdiff-1999182-246-253.txt | 4.66 KB | pguillard |
| #253 | dream_mark_up_for_tabs-1999182-253.patch | 25.9 KB | pguillard |
| #246 | interdiff-1999182-241-246.txt | 4.75 KB | manjit.singh |
| #246 | dream_mark_up_for_tabs-1999182-246.patch | 21.24 KB | manjit.singh |
| #241 | interdiff.txt | 1.42 KB | pguillard |
| #241 | dream_mark_up_for_tabs-1999182-241.patch | 20.61 KB | pguillard |
| #239 | interdiff.txt | 1.69 KB | pguillard |
| #239 | dream_mark_up_for_tabs-1999182-239.patch | 20.62 KB | pguillard |
| #237 | interdiff.txt | 404 bytes | pguillard |
| #237 | dream_mark_up_for_tabs-1999182-237.patch | 20.51 KB | pguillard |
| #233 | comments-not-highlighted.png | 90.84 KB | mgifford |
| #232 | dream_mark_up_for_tabs-1999182-232.patch | 20.34 KB | subhojit777 |
| #224 | interdiff-1999182-223-224.txt | 379 bytes | pivica |
| #224 | 1999182-224.patch | 20.11 KB | pivica |
| #223 | interdiff-1999182-220-223.txt | 2.46 KB | pivica |
| #223 | 1999182-223.patch | 20.11 KB | pivica |
| #220 | 1999182-220.patch | 19.54 KB | rpayanm |
| #220 | 1999182-interdiff.txt | 1.94 KB | rpayanm |
| #219 | 1999182-218-seven2-after.gif | 41.06 KB | idebr |
| #219 | 1999182-218-seven-after.gif | 35.15 KB | idebr |
| #219 | 1999182-218-after.gif | 31.78 KB | idebr |
| #218 | dream_mark_up_for_tabs-1999182-218.patch | 20.06 KB | sarhugo |
| #214 | dream_mark_up_for_tabs-1999182-214.patch | 20.2 KB | subhojit777 |
| #214 | interdiff-1999182-208-214.txt | 654 bytes | subhojit777 |
| #212 | output_uzmgv3.gif | 32.5 KB | subhojit777 |
| #208 | dream_mark_up_for_tabs-1999182-208.patch | 20.2 KB | subhojit777 |
| #208 | interdiff-1999182-203-208.txt | 730 bytes | subhojit777 |
| #206 | 1999182-206-after.gif | 45.98 KB | idebr |
| #203 | interdiff-1999182-193-203.txt | 5.37 KB | subhojit777 |
| #203 | dream_mark_up_for_tabs-1999182-203.patch | 20.18 KB | subhojit777 |
| #193 | interdiff-188-193.txt | 544 bytes | jedihe |
| #193 | dream_mark_up_for_tabs-1999182-193.patch | 25.16 KB | jedihe |
| #189 | 1999182-188-bartik-after.png | 52.51 KB | idebr |
| #189 | 1999182-188-bartik-before.png | 54.59 KB | idebr |
| #189 | 1999182-188-mobile.png | 11.98 KB | idebr |
| #188 | dream_mark_up_for_tabs-1999182-188.patch | 25.11 KB | subhojit777 |
| #184 | interdiff-1999182-172-184.patch | 1.09 KB | subhojit777 |
| #184 | dream_mark_up_for_tabs-1999182-184.patch | 25.02 KB | subhojit777 |
| #179 | dream_mark_up_for_tabs-1999182-179.patch | 25.5 KB | subhojit777 |
| #179 | interdiff-1999182-172-179.txt | 1.57 KB | subhojit777 |
| #177 | interdiff-1999182-172-177.txt | 1.58 KB | subhojit777 |
| #177 | dream_mark_up_for_tabs-1999182-177.patch | 25.51 KB | subhojit777 |
| #176 | Selection_003.png | 95.66 KB | subhojit777 |
| #176 | Selection_004.png | 93.17 KB | subhojit777 |
| #174 | Screen Shot 2015-01-25 at 17.37.01.png | 21.03 KB | Anonymous (not verified) |
| #172 | interdiff-1999182-168-172.txt | 1011 bytes | subhojit777 |
| #172 | dream_mark_up_for_tabs-1999182-172.patch | 24.91 KB | subhojit777 |
| #170 | Screen Shot 2015-01-23 at 11.32.03.png | 8.1 KB | Anonymous (not verified) |
| #170 | Screen Shot 2015-01-23 at 11.32.07.png | 9.97 KB | Anonymous (not verified) |
| #168 | dream_mark_up_for_tabs-1999182-168.patch | 24.51 KB | subhojit777 |
| #168 | interdiff-1999182-161-168.txt | 560 bytes | subhojit777 |
| #166 | Screen Shot 2015-01-20 at 17.02.51.png | 7.52 KB | Anonymous (not verified) |
| #166 | Screen Shot 2015-01-20 at 17.03.24.png | 6.31 KB | Anonymous (not verified) |
| #165 | 1999182-161-after.png | 67.36 KB | idebr |
| #162 | Screen Shot 2015-01-17 at 13.56.31.png | 18.82 KB | subhojit777 |
| #162 | Screen Shot 2015-01-17 at 13.56.42.png | 18.8 KB | subhojit777 |
| #162 | Screen Shot 2015-01-17 at 13.56.35.png | 17.44 KB | subhojit777 |
| #162 | Screen Shot 2015-01-17 at 13.56.44.png | 17.38 KB | subhojit777 |
| #162 | Selection_006.png | 14.63 KB | subhojit777 |
| #162 | Selection_005.png | 15.25 KB | subhojit777 |
| #162 | Selection_004.png | 22.14 KB | subhojit777 |
| #162 | Selection_003.png | 13.52 KB | subhojit777 |
| #161 | dream_mark_up_for_tabs-1999182-161.patch | 24.51 KB | subhojit777 |
| #161 | interdiff-1999182-157-161.txt | 1.07 KB | subhojit777 |
| #159 | Screen Shot 2015-01-16 at 07.55.39.png | 12.15 KB | Anonymous (not verified) |
| #158 | Screen Shot 2015-01-16 at 07.51.28.png | 16.27 KB | Anonymous (not verified) |
| #158 | Screen Shot 2015-01-16 at 07.47.58.png | 10.97 KB | Anonymous (not verified) |
| #158 | Screen Shot 2015-01-16 at 07.50.21.png | 24.85 KB | Anonymous (not verified) |
| #157 | interdiff-1999182-147-157.txt | 445 bytes | subhojit777 |
| #157 | dream_mark_up_for_tabs-1999182-157.patch | 24.32 KB | subhojit777 |
| #155 | Screen Shot 2015-01-14 at 09.51.27.png | 23.96 KB | Anonymous (not verified) |
| #150 | dream_mark_up_for_tabs-1999182-150.patch | 24.54 KB | subhojit777 |
| #150 | interdiff-1999182-147-150.txt | 552 bytes | subhojit777 |
| #147 | interdiff-1999182-134-145.txt | 2 KB | subhojit777 |
| #147 | interdiff-1999182-134-147.txt | 1.61 KB | subhojit777 |
| #147 | interdiff-1999182-145-147.txt | 476 bytes | subhojit777 |
| #147 | dream_mark_up_for_tabs-1999182-147.patch | 24.28 KB | subhojit777 |
| #145 | dream_mark_up_for_tabs-1999182-145.patch | 23.72 KB | subhojit777 |
| #139 | Screen Shot 2014-12-27 at 00.32.01.png | 23.88 KB | subhojit777 |
| #139 | Screen Shot 2014-12-27 at 00.31.35.png | 46.5 KB | subhojit777 |
| #139 | Screen Shot 2014-12-27 at 00.31.17.png | 18.82 KB | subhojit777 |
| #135 | Screen Shot 2014-12-26 at 21.40.19.png | 46.5 KB | subhojit777 |
| #135 | Screen Shot 2014-12-26 at 21.40.37.png | 24.45 KB | subhojit777 |
| #134 | dream_mark_up_for_tabs-1999182-134.patch | 24.06 KB | lauriii |
| #128 | interdiff-1999182-114-122.txt | 417 bytes | subhojit777 |
| #128 | dream_mark_up_for_tabs-1999182-122.patch | 23.95 KB | subhojit777 |
| #123 | Screen Shot 2014-12-16 at 23.36.51.png | 60.73 KB | subhojit777 |
| #123 | Screen Shot 2014-12-16 at 23.36.31.png | 61 KB | subhojit777 |
| #123 | Screen Shot 2014-12-16 at 23.36.08.png | 76.93 KB | subhojit777 |
| #123 | Screen Shot 2014-12-16 at 23.35.59.png | 18.8 KB | subhojit777 |
| #122 | interdiff-1999182-114-122.txt | 417 bytes | subhojit777 |
| #122 | dream_mark_up_for_tabs-1999182-122.patch | 23.95 KB | subhojit777 |
| #120 | Screen Shot 2014-12-16 at 10.58.36.png | 13.53 KB | Anonymous (not verified) |
| #120 | Screen Shot 2014-12-16 at 10.53.37.png | 13.65 KB | Anonymous (not verified) |
| #116 | interdiff-1999182-107-114-corrected.txt | 739 bytes | subhojit777 |
| #114 | interdiff-1999182-107-114.txt | 2.25 KB | subhojit777 |
| #114 | dream_mark_up_for_tabs-1999182-114.patch | 23.96 KB | subhojit777 |
| #109 | Bildschirmfoto 2014-12-04 um 14.17.42.png | 88.43 KB | Boaah |
| #108 | Bildschirmfoto 2014-12-04 um 14.17.56.png | 3.34 KB | Boaah |
| #108 | Bildschirmfoto 2014-12-04 um 14.18.02.png | 96.5 KB | Boaah |
| #107 | dream_mark_up_for_tabs-1999182-107.patch | 23.78 KB | lewisnyman |
| #107 | Screen Shot 2014-11-23 at 23.35.12.jpg | 489.32 KB | lewisnyman |
| #107 | interdiff.txt | 437 bytes | lewisnyman |
| #106 | interdiff-1999182-99-106.txt | 2.52 KB | subhojit777 |
| #106 | dream_mark_up_for_tabs-1999182-106.patch | 23.92 KB | subhojit777 |
| #103 | Screen Shot 2014-11-22 at 01.31.55.jpg | 506.11 KB | lewisnyman |
| #99 | interdiff-98.txt | 4.01 KB | droplet |
| #99 | dream_mark_up_for_tabs-1999182-99.patch | 24.11 KB | droplet |
| #98 | interdiff-1999182-89-98.txt | 688 bytes | subhojit777 |
| #98 | dream_mark_up_for_tabs-1999182-98.patch | 23.89 KB | subhojit777 |
| #94 | highlighted.png | 46.74 KB | droplet |
| #89 | interdiff-1999182-82-89.txt | 716 bytes | subhojit777 |
| #89 | dream_mark_up_for_tabs-1999182-89.patch | 23.92 KB | subhojit777 |
| #82 | interdiff-76-82.txt | 1.94 KB | Jens-0 |
| #82 | dream_mark_up_for_tabs-1999182-82.patch | 20.65 KB | Jens-0 |
| #79 | dream_mark_up_for_tabs-1999182-79.patch | 19.61 KB | Jens-0 |
| #76 | interdiff-1999182-69-76.txt | 1.07 KB | subhojit777 |
| #76 | dream_mark_up_for_tabs-1999182-76.patch | 20.32 KB | subhojit777 |
| #70 | interdiff-1999182-59-69.txt | 921 bytes | subhojit777 |
| #70 | interdiff-1999182-50-69.txt | 921 bytes | subhojit777 |
| #69 | dream_mark_up_for_tabs-1999182-69.patch | 20.76 KB | subhojit777 |
| #69 | interdiff-1999182-59-69.patch | 921 bytes | subhojit777 |
| #69 | interdiff-1999182-50-69.patch | 921 bytes | subhojit777 |
| #63 | interdiff-1999182-50-59.txt | 608 bytes | subhojit777 |
| #59 | dream_mark_up_for_tabs-1999182-59.patch | 19.29 KB | subhojit777 |
| #54 | Screenshot_2014-10-03-18-53-16.png | 123.7 KB | Anonymous (not verified) |
| #53 | Dashboard-tc1bc-alf9q.png | 226.32 KB | aschiwi |
| #50 | tabs-dream-markup-1999182-50.patch | 18.89 KB | Anonymous (not verified) |
| #50 | interdiff.txt | 383 bytes | Anonymous (not verified) |
| #49 | 47.png | 19.2 KB | aschiwi |
| #48 | interdiff-1999182-42-47.txt | 566 bytes | aschiwi |
| #48 | 1999182-47.patch | 18.9 KB | aschiwi |
| #47 | with-patch.png | 16.56 KB | aschiwi |
| #47 | without-patch.jpg | 23.96 KB | aschiwi |
| #45 | Screen Shot 2014-10-03 at 10.55.22.png | 19.91 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.26.47.png | 34.11 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.21.31.png | 94.71 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.21.39.png | 30.7 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.21.46.png | 39.06 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.22.00.png | 66.65 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.22.46.png | 15.54 KB | Anonymous (not verified) |
| #44 | Screen Shot 2014-10-03 at 10.22.54.png | 39.98 KB | Anonymous (not verified) |
| #42 | tabs_dream_markup-1999182-42.patch | 18.83 KB | Anonymous (not verified) |
| #40 | tabs_dream_markup-1999182-40.patch | 17.36 KB | Anonymous (not verified) |
| #40 | Screen Shot 2014-10-01 at 16.46.04.png | 34.35 KB | Anonymous (not verified) |
| #40 | Screen Shot 2014-10-01 at 16.42.34.png | 38.9 KB | Anonymous (not verified) |
| #38 | Screen Shot 2014-10-01 at 13.57.07.png | 21.82 KB | Anonymous (not verified) |
| #38 | tabs_dream_markup-1999182-38.patch | 17.15 KB | Anonymous (not verified) |
| #37 | Screen Shot 2014-10-01 at 13.24.11.png | 22.05 KB | Anonymous (not verified) |
| #37 | Screen Shot 2014-10-01 at 13.24.29.png | 20.65 KB | Anonymous (not verified) |
| #37 | Screen Shot 2014-10-01 at 13.27.30.png | 20.71 KB | Anonymous (not verified) |
| #37 | Screen Shot 2014-10-01 at 13.26.22.png | 24.05 KB | Anonymous (not verified) |
| #5 | tabs-dream-markup-1999182-5.patch | 7.29 KB | lauriii |
| #6 | tabs-dream-markup-1999182-6.patch | 8.34 KB | lauriii |
| #8 | tabs-dream-markup-1999182-6.patch | 8.34 KB | Anonymous (not verified) |
| #10 | tabs-dream-markup-1999182-10.patch | 12.35 KB | Anonymous (not verified) |
| #13 | tabs-dream-markup-1999182-13.patch | 8.77 KB | lauriii |
| #13 | interdiff-1999182-8-13.txt | 1.37 KB | lauriii |
| #30 | tabs_dream_markup-1999182-30.patch | 9.76 KB | ckrina |
| #34 | tabs_dream_markup-1999182-34.patch | 14.26 KB | lauriii |
| #34 | interdiff-1999182-30-34.txt | 5.43 KB | lauriii |
| #35 | Screen Shot 2014-10-01 at 12.08.44.png | 19.06 KB | Anonymous (not verified) |
| #35 | Screen Shot 2014-10-01 at 12.05.44.png | 130.09 KB | Anonymous (not verified) |
| #35 | Screen Shot 2014-10-01 at 12.08.57.png | 119.58 KB | Anonymous (not verified) |
Comments
Comment #1
mgiffordAny reason that this shouldn't be as an unordered list?
Comment #2
ry5n commentedMarkup simplicity; easier to style without the extra elements. However, it would need screen reader testing. We have the navigation ARIA role, we may need additional roles on children.
This article does a good job of explaining the merits of dropping lists on navigation, with a focus on accessibility: http://css-tricks.com/navigation-in-lists-to-be-or-not-to-be/
Comment #3
lewisnymanI think we've had a lot of similar discussion in #1912608: Update pagination markup for new CSS standards and improved accessibility
Comment #4
lewisnymanComment #5
lauriiiDid some progression on this one. CSS needs some refactoring. I'll leave that for someone who's more familiar with this.
I'll change the status to Needs Review so that test bot tests if my patch breaks Drupal or not.
Comment #6
lauriiirefactored css. Please review
Comment #7
lauriiiUps, patch shouldn't be here.
Comment #8
Anonymous (not verified) commentedRight, now its correct :), lauri accidentally posted my patch.
Refactored css.
Please review
Comment #9
Anonymous (not verified) commentedFound a slight glitch still in css fixing now.
Comment #10
Anonymous (not verified) commentedRight now everything should be in order. latest patch fixed "sub tabs" being shown wrongly when hovering.
Comment #11
lewisnymanLooks like there is a lot of additional changes from other issues here?
Comment #12
Anonymous (not verified) commentedWow. good point wonder how those got there..
Comment #13
lauriiiCleaned #10.
Still some TODO's left in the CSS.
Comment #14
mgiffordThe link that @ry5n posted in #2 has a follow-up about what came out of this discussion online. The conclusion was:
"Personally, I think marking up navigation as lists seems to be the best choice. You can look at the facts and decide for yourself though."
More importantly from webaxe's response:
"The straight answer? Continue to use lists."
Removing them removes semantics that some assistive technology relies on.
Comment #15
teroelonen commentedThe problem I see with this link element-only solution is that creating nested menus is hard. What do you think? I think the usage of lists is pretty much the standard so I would go with that =)
Comment #16
Error303 commented+1 for lists
Comment #17
lewisnymanOk, sounds like we need to update the html in the issue summary
Comment #20
mgiffordComment #21
mgiffordSo much has changed since June....
Comment #22
lauriiiComment #23
lauriiiComment #24
lauriiiIm not sure if there's anything to do anymore. I looked how the tabs markup looks like atm and its pretty much the same suggested here.
Comment #25
jwilson3So does the HTML code sample in the issue summary with the current HTML (including the button)?
Where does the last patch stand? is it no longer required?
Comment #26
lauriiiThings have changed a lot since I created the last patch. Now we're using templates etc. for generating tabs.
Comment #27
lauriiiDidnt mean to assign this
Comment #28
lewisnymanI've updated the example to remove seven specific collapsible stuff. Looks like we need to update
menu-local-tasks.html.twigtemplate_preprocess_menu_local_taskin menu.inc. With these changes we'd need to update a fair amount of CSS and remove some code from seven.theme that will no longer be needed.Comment #29
ckrinaWorking on that
Comment #30
ckrinaHere is a first approach:
Comment #31
ckrinaUnassigning and changing status.
Comment #33
lauriiiGonna take look of this
Comment #34
lauriiiComment #35
Anonymous (not verified) commented#34 does what its supposed to. see screenshots for new markup.
Comment #36
lewisnymanWe've made a lot of changes here, we need to test/post screenshots for Stark and Bartik as well.
We've changed a lot of styling here, we will have to be careful for regressions. Ideally we would only change the selectors to remove the chance of regressions
We can remove the .tabs selector in all these selectors, so it's just .tabs--primary
Comment #37
Anonymous (not verified) commentedStarks seems to be same as it used to be, but bartik has isnt correct First file is how bartik tabs look with patch and second is how they used to look. third is stark tabs new and fourth is stark tabs old.
Comment #38
Anonymous (not verified) commentedRefactored css as per #36 requested and also modified bartiks selectors to work with new markup. theres still one .tabs.tabs--primary due to theres a selector called ul.tabs that would override just .tabs--primary selector.
Comment #39
lewisnyman@b0unty Do your think we we could remove the ul from ul.tabs then we can have perfect CSS selectors? :D
Comment #40
Anonymous (not verified) commentedRight, removed the ul which leaded in a few new problems that are sorted out in the patch. also found out a bug in bartik tabs--secondary which was fixed with clearfixing it. didnt add the clearfix as a class cause its only needed in bartik.
Comment #41
lauriiiGood job on the patch @b0unty!
Is there a reason for the first nav?
If we really need to do this I'd prefer adding a class in Bartik.
Comment #42
Anonymous (not verified) commented1. No there was no need for it, removed.
2. Added to bartik as a class.
and lastly i modified the bartiks tabs to use same markup with other tabs. (removed one excess nav element)
Comment #43
lauriiiComment #44
Anonymous (not verified) commentedComment #45
Anonymous (not verified) commentedPrimary tabs non horizontal screenie.
Comment #46
aschiwi commentedTesting.
Comment #47
aschiwi commentedThe result looks almost perfect.
I applied the patch successfully to current 8.0.x. I compared the screenshots with the actual site with Bartik, Seven and Classy.
I found a problem on pages like Manage fields in the (example: admin/structure/types/manage/article/fields). While without the patch you see a number of list items, they are hidden below the content when the patch is applied. I'm attaching two screenshots to show the problem.
The problem comes from the "height: 35px;" that is set in tabs.css, line 7. What is that line in for?
Comment #48
aschiwi commentedI identified two problems, the one with the height mentioned in #47, and an issue with a missing border-bottom, which can be seen in the screenshots from comment #47.
I am attaching a new patch and an interdiff file. Please review :)
Comment #49
aschiwi commentedAdding screenshot for expected look with patch from #48.
Comment #50
Anonymous (not verified) commented#48 does fix the missing border issue.
also now that the height: 35px; was removed there was an unused height: 34px; that i've removed
Comment #51
aschiwi commentedtesting
Comment #52
aschiwi commentedTested again, in Chrome, Firefox, Safari, and iOS Simulator. I'm not sure what the design was for this but it looks different/better in Safari (desktop and smartphone version). Should probably be tested in an android browser and mobile chrome.
Comment #53
aschiwi commentedLooking good in Android browser as well (tested with browserstack, screenshot attached).
Comment #54
Anonymous (not verified) commentedlooks like that in mobile chrome. anyways thats a seperate issue as it was like that even without the patch.
Comment #55
aschiwi commentedOne more tester please :)
Comment #56
lewisnymanI remember the 35px height being required when we implemented this, but I tested it with the patch and couldn't find a problem. Seven's mark up shouldn't be changing right?
We're almost there! We can make these selectors a bit weaker.
In these situations we can just remove the li's
Why are we adding 'nav' here? I don't think we need it.
In Seven we use the tabs__tab class instead of the li. We should be consistent I think.
We can change this selector to .tabs__tab to make it weaker
Comment #57
lauriiiComment #58
subhojit777Comment #59
subhojit777First patch in a D8 issue here :)
Comment #60
subhojit777Comment #61
aschiwi commented@subhojit777 Thanks for your work on this! Could you provide an interdiff file to make it easier to review? Here's the d.o documentation I used when creating mine: https://www.drupal.org/documentation/git/interdiff
Comment #62
subhojit777Comment #63
subhojit777@aschiwi here is the interdiff
Comment #64
Anonymous (not verified) commentedTheres still work to mentioned in #56
Comment #65
subhojit777Comment #66
subhojit777@b0unty @LewisNyman I do not understand what do you mean by "make the selectors a bit weaker" as said in #56 I want to get involved in Drupal 8, so please let me create the patch :)
Comment #67
Anonymous (not verified) commentedMaking the selectors have less selectors :P
but if you read post #56 it has quite nice explain what to do with which.
Comment #68
subhojit777Comment #69
subhojit777@b0unty rerolled patch including changes as said in #56. Interdiffs included.
Comment #70
subhojit777Sorry, incorrect extension for interdiffs uploaded. Uploading them again.
Comment #73
Anonymous (not verified) commentedComment #74
lewisnymanThanks for the changes.
It looks like the most recent patch is removing the changes made in #2152521: User login page looks cramped on mobile
This also undoes the changes made in #2337379: Rename 'branding' to 'content-header'
Apart from that I can't find anything
Comment #75
subhojit777Comment #76
subhojit777Comment #77
subhojit777Comment #78
Anonymous (not verified) commentedWe will need to rework those selectors also as we've changed the tabs markup.
Comment #79
Jens-0 commentedFixed mobile login view.
Comment #80
subhojit777@Jens-0 could you please submit an interdiff as well so that we can the difference between last two patches.
Comment #81
subhojit777@b0unty Sorry but I do not undertand what markup changes have been made. I test applied patch in #76 on 8.0.x branch and it applied without any error. I have asked @Jens-0 to submit an interdiff, may be I can figure out what tab markup changes have been made.
Comment #82
Jens-0 commentedFailed creating the patch last time, so ignore #79. Now interdiff attached.
Comment #83
droplet commentedI wonder why not change TAB (tabs__tab) to Navigation items (navigation__item). And then we can have a shared .class & markup to set these links displayed in horizontal or vertical styling. e.g.: http://getbootstrap.com/components/#nav
If you looking around the real world web, Tabs are switching the content without refresh, not a group of links in tab-like styling. For examples, the top right links in Drupal.org, if it styled with rounded corners, will you call it Tabs?
https://developer.yahoo.com/ypatterns/navigation/tabs/moduletabs.html
http://www.smashingmagazine.com/2009/06/24/module-tabs-in-web-design-bes...
http://getbootstrap.com/javascript/#tabs
http://foundation.zurb.com/docs/components/tabs.html
http://jqueryui.com/tabs
li -> .tabs__tab ?
Shouldn't this hidden element put inside NAV tag.
reduce specificity ?
.tabs .tabs__tab -> .tabs__tab
using .is-horizontal to control float:left ?
Thanks.
Comment #84
subhojit777@droplet I agree with you. But, tab switching without refresh means you have to load content of all pages (unless you are loading via AJAX). Loading all content means it will take more time to completely load the page, the load of HTML DOM will increase considerably and hence browser will start taking more memory. If there are less content to show in tabs then tab switch without refresh seems feasible.
Comment #85
subhojit777@LewisNyman shall we go for the updates as suggested by @droplet
Comment #86
lewisnymanSorry I missed this.
@droplet This issue is not about the defining what the tabs component is, just to bring the tabs markup inline with our standards. We should move that discussion to another issue to
preventpostpone bikeshedding.I agree with the principle, it is a bit weird to refer them as tabs because they could look like anything, but we do that everywhere right now.
I think all the code comments that Droplet raised in #83, with the exception of 2, are correct so setting to needs work. Let's not change anything that affects accessibility in this patch to keep is simpler.
Comment #87
subhojit777Comment #88
droplet commentedAbout #83-2
H2 is a part of NAV.
Comment #89
subhojit777@LewisNyman here goes the patch as suggested by @droplet in #83.
Comment #90
subhojit777@LewisNyman @droplet I am not sure why do we need the heading before navigation tabs. Does it serves some sort of accessibility.
Is this issue related #2045039: Cleanup HTML heading structure to this one?
Comment #91
lewisnyman@subhojit777 Yep the header is a screen reader improvement.
@droplet I don't want to change anything related to accessibility unless it gets signed off by an accessibility team member. Let's assume it's not broken as it is right now. Maybe we can get @mgifford to weigh in?
Comment #92
droplet commentedIt's totally markup problem more than accessibility and the problem is introduced in THIS PATCH
If you do something like this that won't affect accessibility in most cases:
<li><ul></li></ul>But it's an error in markup.
Please have a look:
http://cgit.drupalcode.org/drupal/tree/core/modules/system/templates/men...
If we think H2 is not related to NAV. Then I think the code should be:
If we think this is related:
Of course, anyone can explained in their own way, it's hard to say RIGHT or WRONG on HTML5 Semantic World.
Comment #93
mgiffordBad markup is bad for accessibility! @droplet I'm a bit confused though how this patch leads to the problems you are describing. I don't see it.
I don't see a problem with the process you are describing. Would make sense to me to wrap a NAV element around both primary & secondary tabs as you've described, but not sure how you'd determine the relationship.
Comment #94
droplet commented@mgifford,
I have no idea how to explain it in more details because i think it's very clearly and a simple concept. Let me try...
Version A:
Version B:
Version C:
==============================================
thinking of the relationship between NAV & Primary tab & Secondary tab
Now, I just can tell Version A & B are better than Version C. And Version A & B structures are more close to unpatch version.
Just go ahead if you're think Version C is okay.
Cheers :)
Comment #95
subhojit777I think @droplet has explained well, and he has a good point. The current twig structure for tabs looks wrong (version C). We should go for either version A or B. I will vote for version A. version A will not harm the accessibility, and its twig structure looks good. @droplet++
@mgifford @lauriii @LewisNyman your call.
Comment #96
mgiffordVersion A or B look good. I don't have a preference. Agreed that C is a problem. @droplet Sorry to have you go into more detail on this.
Let's fix the patch so that we're not getting C?
Comment #97
subhojit777Comment #98
subhojit777Here is the patch that follows @droplet's version A suggestion. My explanation for applying version A can be seen here #95. Seems like someone has already corrected Bartik's twig template. This patch fixes system's twig template.
Comment #99
droplet commentedA furthermore fixes to #98.
Actually I just found a better dream markup is already in Seven theme. It's more accessibility. (I didn't add into this patch)
Comment #100
subhojit777Do we need this empty styling.
The indentation is incorrect.
Comment #101
droplet commentedWhy ? new Code Standard ?? (If Yes, very odd rule)
Comment #102
mgiffordI'm guessing @subhojit777 was reading it wrong. The styling on the removed code doesn't matter. It happens....
Moving this back to Needs review.
Comment #103
lewisnymanThe active states in Seven have disappeared:

Looks like we've changed the
.activeclass to.is-activein CSS even though we haven't in HTML:Comment #104
subhojit777Comment #105
subhojit777Sorry @droplet my bad I commented on the deleted codes :p - #100
Comment #106
subhojit777Thanks @LewisNyman for the corrections.
Comment #107
lewisnymanI noticed that the Seven collapsible tab trigger was broken, I guess changing the specificity of the other CSS affected it. I can't see any other problems.

Comment #108
Boaah commentedLooks fine for me on OS X 10.10, Chrome 39.0.2171.7.
Comment #109
Boaah commentedComment #110
Boaah commentedI also testet it now on several other combinations without noticing any problems. I am not sure if i should post all the screenshots i made but i could attach them if anyone is interested.
Windows 7: IE 11 10 9, Chrome 36 35 34, Firefox 30 29 28, Opera 12.16.
OSX 10.10: Firefox 30 29 28, Chrome 36 35 34, Safari 8.
OSX 10.09 Safari 7.
iPhone 5s & 6 Safari.
iPad Air Safari.
Comment #111
lewisnymanSounds like we are there then
Comment #112
tstoecklerSorry to push this back but this should be a quick fix:
Seems these should be two separate strings, i.e.
array('active', 'tabs__tab');Comment #113
subhojit777Comment #114
subhojit777Comment #115
lewisnyman@subhojit777 There seems to be more changes in the interdiff than just @tstoeckler's review. Is that intentional?
Comment #116
subhojit777The interdiff tool I am using in Ubuntu seems broken. Here is the correct interdiff (Interdiff obtained with the help Stackoverflow: Show all changed files between two Git commits)
Comment #117
lewisnymanIn that case, back to RTBC. Thanks!
Comment #118
aschiwi commentedYAY!
Comment #119
alexpottWe need a CR for this and we need evidence of RTL testing.
Comment #120
Anonymous (not verified) commentedthe secondary tabs are floated to wrong side on RTL
https://www.drupal.org/files/issues/Screen%20Shot%202014-12-16%20at%2010...
should be :
https://www.drupal.org/files/issues/Screen%20Shot%202014-12-16%20at%2010...
other than that all seems to be fine.
Comment #121
subhojit777Looking into the issue.
Comment #122
subhojit777@b0unty Thanks for testing this. Here is the fix.
Comment #123
subhojit777Screenshots.
Moving this to "Needs review" for the testbots. Anyone please review this, and change it back to "Needs work" as alexpott has asked for change records (#119).
Comment #124
lewisnymanHere's the change record, please review. https://www.drupal.org/node/2394699
Comment #125
nod_RTBC +1
Comment #126
subhojit777Invoking tests..
Comment #127
subhojit777Invoking bot to test #122
Comment #128
subhojit777Uploading the patch again..
Comment #130
lewisnymanIs this change intentional? Why are we making this change?
Comment #131
subhojit777I have just removed this styling. Due to this the tabs were not aligning right in RTL (See b0unty's comment in #120). Screenshots taken after applying this patch #123
Comment #132
lewisnymanOk makes sense. I manually tested for any regressions around Seven's secondary tabs and it looks good. Thanks!
Comment #134
lauriiiRerolled after #2375673: Split Bartik's CSS into SMACSS style components
Comment #135
subhojit777There are theme breaks.
Lets see what I can do.
Comment #136
subhojit777@lauriii an interdiff always helps to identify the changes.
Comment #137
lauriiiIts not possible to create interdiff for reroll
Comment #138
subhojit777@lauriii I thought you are using interdiff http://freecode.com/projects/patchutils
Comment #139
subhojit777my bad I did not clear the cache. silly me.
Screenshots:
Thanks all!!
Comment #143
lauriiiComment #144
subhojit777Comment #145
subhojit777Comment #146
subhojit777I have missed the changes in
page.html.twigComment #147
subhojit777Comment #150
subhojit777I am not sure this fix should go with this issue. However the same test was passing in my localhost, I have PHP 5.5.9
Comment #153
lauriiiWhat is the change on #150 intended for?
Comment #154
subhojit777#147 was failing due to array syntax. In #150 I corrected it. But later I saw that #147 passed the test. So #150 can be ignored.
Comment #155
Anonymous (not verified) commentedWhen you click an secondary tabs link it colors it just before it loads to annoying grey ( current 8.x without patch doesnt do this) see screenshot.
Comment #156
subhojit777Comment #157
subhojit777There was
:focusproblem. While replacing the seclectors with new class we missed the:focusattribute style.Comment #158
Anonymous (not verified) commentedRight, i think we are there. (Again ..:D)
Theres a slight problem in bartik but this is also in current master so its a seperate issue.
Bartik Problem :

LTR image with patch :

RTL image with patch :

Comment #159
Anonymous (not verified) commentedActually not RTL has a responsive issue :

Comment #160
subhojit777@b0unty Thanks for testing
Comment #161
subhojit777Comment #162
subhojit777This fixes:
This fixes:
This fixes:

Comment #163
subhojit777Comment #164
subhojit777Comment #165
idebr commentedThe class "tabs" is no longer available on the

<nav>element. This class is necessary for the styling in Bartik. Screenshot after:Comment #166
Anonymous (not verified) commentedDouble post..
Comment #167
Anonymous (not verified) commentedi cant reproduce the issue mentioned in #165 BUT there's another issue with the same place tabs on bartik are missing the underline see screens.
Before:

After:

Comment #168
subhojit777@b0unty++ Thanks for testing. You have a hawk's eye :)
Comment #169
subhojit777Comment #170
Anonymous (not verified) commentedSorry to say this but found one more bug... :(
secondary tabs on RTL do not set the blue border of selected nor :focus on the right. see screens
Before:

after:

after this is fixed we should be RTBC tho
Comment #171
subhojit777Lets get on with it. Thanks again @b0unty
Comment #172
subhojit777There you go.
Comment #173
subhojit777This makes sure that the border comes in correct place for active tab.
This makes sure border comes in correct place for tabs when hovered.
This and the rest of the styles following this makes sure that the text in tab does not moves when hovered.
And this
And this
These styles were not added back while creating dream markup for tabs.
Comment #174
Anonymous (not verified) commentedTy for patch @subhojit777 !

Only problem now is that the styles you added to mobile also affect desktop :
(only on RTL)
Comment #175
subhojit777Comment #176
subhojit777I am not sure whether this is a bug.
Sorry, its no "toolbar-vertical" class.
Comment #177
subhojit777I have added a new class based on which it adds border in rtl mode. I will upload another patch using
not()selector. Based on conversation with joelpittet in irc it is okay to usenot()selector in Drupal 8, and it is already used in the core.Comment #178
lewisnymanI think the 'vertical-tabs' class is going to conflict with the vertical tabs UI component, can I suggest using 'is-vertical' like we use 'is-horizontal'?
Comment #179
subhojit777Yeah makes sense.
Comment #180
aschiwi commented@subhojit777: did you mean to "needs review" this?
Comment #181
subhojit777Nope, see #177. And there is another bug I found (simiar to this #155 but in RTL), will post that soon.
Comment #182
subhojit777I want to apply some styles only when the elements do not come under
is-horizontalclass. See the interdiff in #179, instead of usingis-verticalclass I will do that using:not(.is-horizontal).Comment #183
nod_Comment #184
subhojit777Patch using :not selector. I would recommend this patch #179 because it ensures better browser compatibility.
Comment #185
subhojit777I was checking using responsive tester provided by developer tools Chrome, and there was when you click some link it becomes gray for an instant (like @b0unty said in #155). I guess its not an issue. I am changing this needs review.
Also consider my comment in #176
Comment #186
lewisnyman@subhojit777 We are able to use the :not() selector as we don't support IE8
We've added the is-horizontal classes to the Bartik theme but I think these classes are only used in the Seven theme?
This now needs a reroll, otherwise I would of manually tested it.
Comment #187
subhojit777Comment #188
subhojit777Patch rerolled
Comment #189
idebr commentedI found two issues with manual testing:
Screenshot before:
Screenshot after:
Comment #190
lewisnymanSettings to needs work based on comment above
Comment #191
Anonymous (not verified) commentedThis needs a reroll again.
Comment #192
droplet commentedMy reviews may not accuracy. However, I think when we do markup changes (HTML), we should do 100% conversion directly and do not to improve CSS in same thread.
Comment #193
jedihe commentedRerolled patch, fixed these conflicts manually:
core/modules/system/templates/menu-local-tasks.html.twig
Here I preserved the second part only (which agrees with the intent I see in the patch from #188.
core/themes/bartik/css/components/tabs.css
Hunk 1:
Here I preserved only .tabs ul.primary from 8.0.x HEAD (first part), but renamed it to .tabs--primary. I kept the whole of the second part (which agrees with #188).
Hunk 2:
Here I preserved the second part, which agrees almost perfectly with the intent I see in the patch from #188.
I'm attaching the patch + a very simplistic interdiff; I couldn't capture the actual differences I saw between the two patches.
Comment #195
jedihe commentedI just did a quick test for #193 on simplytest.me and found primary and secondary tabs looking good. It may be the patch just needs to be updated to account for changes in other parts of core (just a quick guess).
Comment #196
subhojit777Comment #199
subhojit777These are all unrelated tests that are failing https://qa.drupal.org/pifr/test/979483.
Comment #200
subhojit777I am not sure whether the reroll has been done properly.
Comment #201
subhojit777The reroll was done properly. Sorry for the confusion, there is something wrong with the tests.
I saw that they are failing because it cannot find some HTML elements which are fetched based on classes like
tabs tabs--primary.This has been changed, and the tests should pass. But it is still failing.
When I renamed
tabs tabs--primarytotabs primaryall tests are passing. I am not sure about this. Am I looking in right place?Comment #202
subhojit777Tests corrected (classes renamed). Please do a review of the tests. Fixes done as per #189
Comment #203
subhojit777Comment #204
subhojit777File appears (as per xjm's comment https://www.drupal.org/node/2394951#comment-9614057) - why the bot is not picking up the patch for test?
Comment #205
subhojit777Comment #206
idebr commentedThis no longer overrides the styling in Seven due to lower specificity. This results in a little jumping on small viewports:
Missing closing bracket on .tabs--primary. This syntax error breaks the display of tabs in Bartik.
Comment #207
subhojit777Thanks @idebr for the review. It is the longest Drupal issue I have worked on :)
Comment #208
subhojit777@idebr Could you please explain us more on how you are testing in #206.1. I see that you are changing tabs. I am doing the same in Firefox. I have opened two tabs both showing block layout page, and pages are shown in viewport 320x480. I am changing tabs like you are doing but I dont see the "jump".
I am using Firefox 35.0.1 in Ubuntu 14.04
Comment #209
jedihe commented@subhojit777: I'm guessing @idebr got that by refreshing each tab with a different code state (one before, one after the patch).
Comment #210
idebr commented@subhojit777 My bad, I was terribly unclear in 206:1. As @jedihe noted I was switching between installations with/without this patch to check for regressions in the display of tabs.
I can confirm 206:2 was fixed, but 206:1 still needs work. Thanks for your work and perseverance on this issue, it's looking very good and we're incredibly close to our dream markup :)
Comment #211
subhojit777Lets do it :)
Comment #212
subhojit777@idebr I think the problem has already been addressed in #203. Remember you said about the problem in ##18. Were you using the correct patch?
I am seeing a tiny jump though, not as big as #206.1
Comment #213
subhojit777Comment #214
subhojit777Please check
Comment #217
subhojit777Comment #218
sarhugo commentedSolved conflict at core/includes/menu.inc line 38.
Comment #219
idebr commentedThis is invalid CSS syntax
border-collapse only applies to table elements, so it can safely be removed.
This is the default value for height. Since it does not override any previous declarations, it can safely be removed.
This is the default value for line-height. Since it does not override any previous declarations, it can safely be removed.
This is the default value for border. Since it doesn't override any previous declarations it can safely be removed.
Vertical align does not have any effect on block elements, so this attribute can be removed.
This styling is not specific for RTL. Also it doesn't do anything, so it can be removed.
The CSS coding standards suggest using shorthand color codes when possible, eg. '#fff' instead of '#ffffff'.
Use a shorthand color code here as well, eg. '#fff' instead of '#ffffff'.
The /* LTR */ comment is still relevant here and should not be removed.
Comment #220
rpayanm1. Done.
2. Done.
3. Done.
4. Done.
5. Done.
6. Done.
7. Done.
8. Done.
9. Done.
10. Done.
11. Pending.
12. Pending.
13. Pending.
Comment #221
mgifford@rpayanm What are 11-13 waiting on? I assume they aren't in the patch and would need to be written. Thanks for the interdiff.
Comment #222
idebr commented@mgifford I think you are correct, I updated the issue status to 'Needs work' for #219.11 through #219.13.
Comment #223
pivica commentedOK first try...
Rechecked changes from 1 to 10:
1. had an error from before - wrong css rules order, it should be '.is-horizontal .tabs--primary'
with this change there is no need for left float on a tag:
No idea why it was introduced in the first place?
the rest is OK.
11, 12, 13 also fixed.
Also introduced some other changes and fixes, please recheck:
Quickly searched core and could not find any place where div.tabs combination is used so i removed it.
This will also fix using of different fonts for secondary tabs - there is really no point if doing this and i guess that original div.tabs rule wanted to work like this.
But if this is really intended behaviour then we need to introduce different font for secondary tabs.
Moved specific
padding: 9px 2em 7px 1em; /* LTR */to .tabs__trigger selector,This change also fixed wrong width of .trigger-element and on click event background color overflow (bg color overflow visible in chrome).
Comment #224
pivica commentedWhile working on #2335523: Remove node.module.css from node/drupal.node library and deprecate node/form library i saw that px/rem mixin is used on other places to, not just here, no idea why? Anyway returning removed rem rule with this patch, no other changes.
Comment #225
pivica commentedTest please.
Comment #226
Anonymous (not verified) commentedComment #227
Anonymous (not verified) commentedComment #228
mgifford@pivica why did you set it back to needs work & mark as Needs reroll. The bot seems to like it.
Still going back up to comment #219.11 through #219.13?
Comment #231
subhojit777Comment #232
subhojit777Comment #233
mgiffordWith the patch, the active tab is no longer being highlighted. In this case the comments were white before.
I didn't see any jumping though which had been reported earlier.
Comment #234
Patrick Storey commentedI am removing the Novice tag from this issue because the issue has over 200 comments and that's rather long for a new contributor.
I’m using this documentation as a source: https://www.drupal.org/core-mentoring/novice-tasks#avoid
Really a great amount of contributions have been put into this issue. Very impressive everyone!
Comment #235
Patrick Storey commentedComment #236
bill richardson commented#233 still needs investigated
Comment #237
pguillard commentedJust #233 investigation : The active tab has the correct selector, it appears that this is just the wrong color?!
I didn't follow all the comments, so please double check. This is just my small contribution..
Comment #238
bill richardson commentedTab has bottom line when active and also artifact to the right , also background of tab is changing color when hover on already active tab.
Comment #239
pguillard commentedHum, difficult to compile all comments, and add my part...
I discovered that li.is-active had become li.active.
It looks much better like that in Bartik and Seven, but again, please double check !
Comment #240
bill richardson commentedGreat work - looks a lot better visually after last changes.
Just looking through patch , there still seems several references to is-active rather than active which may need to also be updated.
Comment #241
pguillard commentedYou are right, thanks @bill richardson.
Comment #242
idebr commentedLooks great, thanks!
These changes also have to be applied to classy/templates/navigation/menu-local-tasks.html.twig
The first level of the main menu is no longer styled as an active item.
This selector never applies, as [dir="rtl"] applies to the html tag.
This change introduces a white line in the mobile viewport on the active tab, so there is a gap in the borders.
The /* LTR */ comment still applies, so it should not be removed.
Comment #243
deepakaryan1988Removing sprint weekend tag!!
As suggested by @YesCT
Comment #244
Anonymous (not verified) commentedAdding novice tag as there's a clear what to do left in comment #242
Comment #245
manjit.singhComment #246
manjit.singhchanges as suggested in #242.
Comment #250
emma.mariaTagging with Bartik as this issue contains it's files and I want to keep an eye on changes and any visual regressions that may occur.
Comment #253
pguillard commentedI applied the changes in #246 to the tests to make them (hopefully) pass.
Comment #255
pguillard commentedOne was remaining
Comment #256
lewisnymanWe are adding these classes in the preprocess, but we should be added these in the template. Also 'active' should he 'is-active'
We are removing the margin right here but we aren't setting margin left for rtl
We can reduce this selector to .tabs--primary a
This selector should use .tabs__tab.is-active
This can also be reduced to .tabs--primary a
Comment #257
lewisnymanI just realised this issue is going to get knocked out by #2395853: Split system.module.css and system.theme.css files into SMACSS style components and #507488: Convert page elements (local tasks, actions) into blocks so I'm postponing until these get in.
Comment #258
mgiffordIt's in now.
Comment #259
subhojit777Novice because its quite clear what needs to be done in #256
Comment #260
subhojit777Comment #261
subhojit777Just rerolling the patch. Have not applied the changes in #256
Comment #262
subhojit777Comment #263
subhojit777Comment #264
mgifford@subhojit777 can you improve the issue summary a bit? It's very vague right now.
Comment #265
emma.mariaTabs in Bartik have a lot of visual regressions with the patch in #262.



Comment #266
emma.mariaComment #267
subhojit777Comment #268
subhojit777Comment #269
emma.mariaComment #270
rainbowarrayBecause there has been so much change since this patch was started, I basically redid the patch line by line so I could really see what was going on. I removed preprocess from the system templates so that classes are added in Classy, as we've been doing. Since Classy is now the default theme for WebTestBase, that gets rid of some of the earlier weirdness. The markup template in the issue summary uses is-active on tabs__tab, not active for the class, so I went with that in the CSS and markup.
There's a lot of refactoring going on in the CSS for Seven and Bartik that makes this patch harder to review and understand than I think is maybe necessary, but who knows, maybe I'm wrong with that. I took out a few really odd things going on in there (like seemingly arbitrary removals of RTL styles), but each line of these CSS changes bears close examination, probably by both LewisNyman and emma.maria. Maybe they wrote some of these changes, and if so, and the changes have good reasons, then great. But at first glance, some were confusing.
Anyhow, would be nice to get this in if we can, although time is short. Hopefully a few good reviews can take care of any remaining nits.
Comment #271
subhojit777@mdrummond Thanks for working in this issue. An interdiff could have helped here to see what changes have been made.
Comment #272
rainbowarray#271: I would have done so, but the patch in #262 no longer applied.
I just did a reroll of 262 and then did a diff of that against 270. That may not give a full picture of all the changes, but may be helpful.
Comment #273
lewisnymanOnly time for a quick review but there are a few regressions in seven. Mobile isn't too bad though.
Comment #274
gints.erglis commentedPatch #270 does not work.
error: core/modules/system/css/components/tabs.theme.css: No such file or directoryComment #275
prabhurajn654 commentedComment #276
prabhurajn654 commentedPatch #270 does not work, becaue while resolving other bugs or issues following file might be removed or replaced with other name core/modules/system/css/components/tabs.theme.css
Comment #277
prabhurajn654 commenteddream-markup-for-tabs-1999182-277.patch
Comment #278
prabhurajn654 commentedComment #279
prabhurajn654 commentedComment #280
gints.erglis commentedComment #281
gints.erglis commentedComment #284
mgifford@Gints Ērglis what are those two files? How are they different? Is one with the tests?
Comment #285
gints.erglis commented@mgifford The first file accidentally posted. The dream-markup-for-tabs-1999182-280.patch contains css fixes for tabs.
Comment #289
jaxxed commentedscheduled for testing again because the test failures were inconsistent (different tests failed) and both failures correspond to a DrupalGet() returned 0 bytes.
Comment #290
lewisnymanI tested Bartik and Seven and found a few visual regressions.
Comment #291
gints.erglis commentedFixed tab style in the Bartik theme. Could not get regression in Seven theme.
Comment #292
nlisgo commentedTriggering testbot
Comment #293
Bojhan commentedThe regression seems clearly visible in Seven, just installing it with Simplytest.me shows it.
Comment #294
manjit.singh@Bojhan I have test the latest patch manually on simplytest.me but i am not getting any regression on Seven, Can you please attach some screenshots.
Comment #295
aschiwi commentedI will review this again right now.
Comment #296
aschiwi commentedAfter more than a year, I found it hard to review this issue again. The summary isn't really clear on what needs to be done or what is still open to do. I applied the patch to today's 8.x and will post screenshots from my tests in Chrome here.
Testing environment:
* Mac OSX Yosemite 10.10.3
* Chrome 45.x
* Screenshots taken in Chrome developer tools toggle device mode
* Seven theme as admin theme thoroughly (see screenshots)
* Bartik as admin theme (looks fine, added two more screenshots to show this)
* Classy as admin theme (result: not testable - Classy comes without tabs at the moment)
Also tested with (found no issues in):
* Safari
* Firefox
* Xcode iOS Simulator (iPad mini, iPhone 4-6s)
Also checked:
* scanned through code changes to look for obvious errors
Did NOT check:
* Code style / class names (don't know enough about how Drupal does it)
* Any version of Internet Explorer
Summary
I think it looks great and this deserves to finally be committed :) Any new small issues coming up could always be fixed later. I say this because I have been following this issue for a year and it's a relatively small change. I would be happy to finally see this be committed.
Comment #297
aschiwi commentedComment #298
aschiwi commentedAdded two more screenshots for Bartik as addition to #296
Comment #299
aschiwi commentedwe found one more issue with certain sizes when the administration menu is on the left.
* Mobile: landscape
* Tablet: portrait and landscape
Steps to reproduce
* use mobile or tablet in portrait mode
* Go to /admin/structure/types/manage/article/display
* have menu open
* at this point, everything looks good still
* close menu by clicking on "Manage" in the toolbar
* Go to /admin/structure/types/manage/article/fields
* open menu by clicking on "Manage" in the toolbar
* it should look like the screenshot on this comment
Suggestion for solution by my colleague hctom:
* Currently only the
window.resize()event is bound to trigger resize handling. You should also bind toolbar events likedrupalToolbarOrientationChangeanddrupalToolbarTrayChange(see modules/toolbar/js/toolbar.js lines 121 and following), because the toolbar in vertical mode changes the actual width of the site content.Comment #300
aschiwi commentedForgot to change the status.
Comment #301
emma.mariaLet's get this issue rolling again! :)
Comment #302
lauriiiRerolled the patch. This doesn't take any of the classy / stable stuff in account but just applies the same way as the last one.
Comment #303
lauriiiI think we should solve #2659890: [Policy] [Plan] Drupal 9 and 10 markup and CSS backwards compatibility before proceeding on this
Comment #304
lewisnymanComment #316
andypostShould it went to starterkit theme?
Comment #321
quietone commentedThis issue this was postponed on was fixed 9 years ago. Since, then there has been no discussion here for 9 years. Perhaps this has been resolved?
I am setting the status to Postponed (maintainer needs more info) to find out if this is still needed. If confirmation that this is needed is not given, this may be closed after three months.
Comment #322
smustgrave commentedWanted to bump 1 more time, also bartik and seven are no longer in core :)
Comment #323
liam morlandI think it is settled that the most desirable markup for navigation lists is a
navelement containing a list element, which is what Drupal currently uses. So, I suggest this be closed "works as designed".Comment #324
smustgrave commented