summary

slinky.web.html.summary$
object summary extends Tag with Attr

The HTML <summary> element is used as a summary, caption, or legend for the content of a <details> element. This attribute defines an alternative text that summarizes the content of the table. Typically, it allows visually impaired people who are browsing the web with a Braille screen, to acquire information about the table. If the information added by this attribute is also useful to people who are not visually impaired, consider using the <caption> instead. The summary attribute is not mandatory and may be omitted when a <caption> element fulfills its role.

Usage Note: Do not use this attribute, as it has been deprecated. Instead, choose one of these methods to add a description of a table:

  • Use prose around the table (this method is less semantic).
  • Add a description in the table's <caption> element.
  • Add a description in a <details> element, inside the table's <caption> element.
  • Include the <table> element in a <figure> element and add the description in prose next to it.
  • Include the <table> element in a <figure> element and add the description in prose inside a <figcaption> element.
  • Adjust the table so that a description is not needed (e.g. use <th> and <thead> elements).

Attributes

Graph
Supertypes
trait Attr
trait Tag
class Object
trait Matchable
class Any
Self type
summary.type

Members list

Concise view

Type members

Classlikes

object tag extends TagElement

Attributes

Graph
Supertypes
class TagElement
class Object
trait Matchable
class Any
Self type
tag.type

Types

type tagType = tag.type

Inherited types

type supports[T <: Tag] = AttrPair[attrType] => AttrPair[tagType]

Attributes

Inherited from:
Attr

Value members

Concrete methods

def :=(v: String): AttrPair[_summary_attr.type]
def :=(v: Option[String]): OptionalAttrPair[_summary_attr.type]
def apply(mods: TagMod[tag.type]*): WithAttrs[tagType]