- From: <bugzilla@jessica.w3.org>
- Date: Wed, 06 Feb 2013 23:45:47 +0000
- To: public-html-a11y@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=13460 steve faulkner <faulkner.steve@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED --- Comment #6 from steve faulkner <faulkner.steve@gmail.com> --- (In reply to comment #0) > It is possible to consider a great many use cases for a feature like > <details> with <summary> that shows elided content plus full content. > However, the examples and placement in the spec make it look like it's meant > to be a particular kind of widget. On the other hand, the content model > suggests that it can in fact be used in a wide variety of ways. Additional > examples would help clarify this. > > Edit details: Add the following examples to the <details> element. > > 1.) A new site shows a summary of an article with the option to view full > content. > > <section> > <h2>Government balances budget</h2> > <details> > <summary>The governing party has announced passage of a budget with > support from all other parties.</summary> > <p>The government has announced a budget that will not increase the > federal debt for the upcoming budget year. This budget has unprecedented > support from opposition parties as well. Though the debate was intense, > discussion was clearly motivated by a desire to serve the electorate well, > taking priority over serving the individual interests of elected officials > and their funders. Analysts predict this budget will increase GDP by 3% over > the upcoming budget cycle and eliminate government debt in 5 years.</p> > <p>etc.</p> > </details> > </section> > > 2.) A science site provides an easy-to-read version of technical content. > > <details> > <summary>Special relativity says that space and time our connected. If we > move faster through one, we move slower through another to maintain that > connection. The faster we travel, the more time for us slows down. If we go > really fast, our clocks get so slow that we age less than everybody > else.</summary> > <p>According to the theory of special relativity, we move through > 4-dimensional spacetime at a constant rate. This rate is c, also known as > the speed of light in a vacuum. As we increase our speed in space, our speed > in time slows down correspondingly. The correspondence is given by the > famous equation e=mc<sup>2</sup>. This formula makes it possible to > calculate the kinetic energy of a mass traveling through space at a given > speed in a way that relates it to the constant speed through spacetime c. > The speed of that mass through the time dimension slows down correspondingly > to achieve a constant speed through spacetime.</p> > <p>etc.</p> > </details> Hi Michael, have you looked at how details/summary is implemented in browsers? http://caniuse.com/details shows current support and the html to platform accessibility api guide provides implementation advice https://dvcs.w3.org/hg/html-api-map/raw-file/tip/Overview.html#examples-sum do the examples you provided suit the current implementation? As in is it appropriate to have a multi sentence text label for what is essentially a button? -- You are receiving this mail because: You are on the CC list for the bug.
Received on Wednesday, 6 February 2013 23:45:49 UTC