Accessibility/Datatypes: Difference between revisions

Jump to navigation Jump to search
 
Line 1: Line 1:
== Proposal ==
== Proposal ==
* Change aaa:datatype attribute name to aaa:type (to match what's used with schema)
* Allow aaa:datatype attribute to point to any schema, e.g. type="my:phonenumber"
* Allow aaa:type attribute to point to any schema, e.g. type="my:phonenumber"
* The user agent will parse the data type pointed to and provide the following information via ATK/AT-SPI/IAccessible2 object attributes (which can expose arbitrary string values)
* The user agent will parse the data type pointed to and provide the following information via ATK/AT-SPI/IAccessible2 object attributes (which can expose arbitrary string values)
* Each element on the page can utilize a simple type, and the schema can define the xs:restrictions as well as the xs:use attribute
* Each element on the page can utilize a simple type, and the schema can define the xs:restrictions as well as the xs:use attribute
Line 18: Line 17:
| xs:base
| xs:base
| "datatypebase"
| "datatypebase"
| What the type is derived from. Must be one of the built-in types such as xs:integer. If original aaa:type is one of the built-in types, then this will be the same.
| What the type is derived from. Must be one of the built-in types such as xs:integer. If original aaa:datatype is one of the built-in types, then this will be the same.
|-
|-
| xs:minLength
| xs:minLength
346

edits

Navigation menu