Comments on: The details and summary elements https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/ helping you implement HTML5 today Thu, 28 Jul 2016 17:36:34 +0000 hourly 1 By: Jesse https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-2134303 Thu, 28 Jul 2016 17:36:34 +0000 http://html5doctor.com/?p=3558#comment-2134303 Steven, it looks like Safari (desktop only) supports it, also, but Firefox and IE/Edge don’t at this time.

http://caniuse.com/#search=details

]]>
By: Steven Vachon https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-2134300 Thu, 28 Jul 2016 16:52:34 +0000 http://html5doctor.com/?p=3558#comment-2134300 How does the <summary> element compare to <h1>–<h6> header elements?

]]>
By: Steven Vachon https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-1749893 Wed, 18 Mar 2015 17:36:18 +0000 http://html5doctor.com/?p=3558#comment-1749893 Nearly 4 years after this article was written, Webkit-based browsers are still the only ones that support the element.

]]>
By: Jesse https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-584570 Wed, 15 Oct 2014 00:10:05 +0000 http://html5doctor.com/?p=3558#comment-584570 Hi Bruce. Before I go further, I just want to say I’m a fan of your writing. I enjoy your direct and meaningful course of thinking about all things web.

— onward —

There might be accessibility issues (maybe usability as well) in doing so, but I wanted to know how to style the highlight only because I found the browser default not appropriate in an experimental situation where it just didn’t look right. I’ve since been informed that to accomplish what I was looking to do, I needed to target the summary element, not the details one (strangely?).

]]>
By: Bruce Lawson https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-580188 Tue, 14 Oct 2014 10:28:48 +0000 http://html5doctor.com/?p=3558#comment-580188 probably use a web component to re-style it. But why? If every details element looks the same across sites, the user knows how it operates (same as form fields). Why potentially damage usability?

]]>
By: Jesse https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-498038 Sat, 04 Oct 2014 22:19:36 +0000 http://html5doctor.com/?p=3558#comment-498038 I’m trying to utilize the details element but I’m not a fan of the highlight it gets when clicked on. I’ve tried several things with CSS but can’t seem to remove it. Any ideas?

My latest (failed attempt):


details[tabindex]:focus {
outline-style: none !important;
}

details[tabindex]:active {
outline-style: none !important;
}

]]>
By: Steve Faulkner https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-126807 Thu, 17 Jul 2014 07:45:05 +0000 http://html5doctor.com/?p=3558#comment-126807 thanks fixed!

]]>
By: Charleston Olaes https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-125033 Wed, 16 Jul 2014 18:29:23 +0000 http://html5doctor.com/?p=3558#comment-125033 quick note : the link for the modernizr snippet has changed from


https://github.com/Modernizr/Modernizr/blob/master/feature-detects/elem-details.js

to


https://github.com/Modernizr/Modernizr/blob/master/feature-detects/elem/details.js

]]>
By: Dr Clue https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-43485 Wed, 11 Dec 2013 07:34:15 +0000 http://html5doctor.com/?p=3558#comment-43485 Probably was already offered as a possibility for a feature test, but being on a tablet at the moment it was a little awkward to check, but this might be useful as a test expression

‘open’ in document.createElement(‘details’)

I mention it because it seemed someone mentioned there might be some issue with testing for but the element alone

]]>
By: Ian Yang https://stevefaulkner.github.io/html5doctored/the-details-and-summary-elements/#comment-35760 Mon, 01 Jul 2013 15:50:58 +0000 http://html5doctor.com/?p=3558#comment-35760 Steve, thanks for the info about the widget in Mac OS. Yet Wikipedia’s explanations suggests that the widgets hides contents by default.

]]>