Added support for more HTML attributes: summary

This attribute is used on <table> to support screen readers.
It is deprecated, so take a look at <caption> instead.
This commit is contained in:
Hekar Khani
2015-08-13 22:41:37 -05:00
parent aa55a71c62
commit be1fc794f0
3 changed files with 5 additions and 4 deletions
@@ -62,8 +62,8 @@ keyParams keyType label lang list loop low manifest marginHeight marginWidth max
maxLength media mediaGroup method min multiple muted name noValidate open
optimum pattern placeholder poster preload radioGroup readOnly rel required role
rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes
span spellCheck src srcDoc srcSet start step style tabIndex target title type
useMap value width wmode
span spellCheck src srcDoc srcSet start step style summary tabIndex target title
type useMap value width wmode
```
덧붙여, 이런 비표준 어트리뷰트도 지원됩니다.
+2 -2
View File
@@ -62,8 +62,8 @@ keyParams keyType label lang list loop low manifest marginHeight marginWidth max
maxLength media mediaGroup method min multiple muted name noValidate open
optimum pattern placeholder poster preload radioGroup readOnly rel required role
rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes
span spellCheck src srcDoc srcSet start step style tabIndex target title type
useMap value width wmode wrap
span spellCheck src srcDoc srcSet start step style summary tabIndex target title
type useMap value width wmode wrap
```
In addition, the following non-standard attributes are supported:
@@ -150,6 +150,7 @@ var HTMLDOMPropertyConfig = {
sizes: MUST_USE_ATTRIBUTE,
span: HAS_POSITIVE_NUMERIC_VALUE,
spellCheck: null,
summary: null,
src: null,
srcDoc: MUST_USE_PROPERTY,
srcSet: MUST_USE_ATTRIBUTE,