HTML/W3C-WHATWG-Differences
Differences between the W3C HTML 5.1 specification and the WHATWG LS
The W3C HTML 5.1 specification:
- Requires the main element be mapped to the ARIA role 'main' or equivalent in accessibility APIs. Rationale: Improve interoperability.
- Restricts the author use of the main element to one per document. Rationale: Improve utility for users.
- Encourages user agents to provide keyboard navigation for the main element. Rationale: Improve utility for users.
- Defines the main element as representing the main content of a document. Rationale: Matches markup patterns used by authors to identify the main content area of a document.
- Defines the body element as representing the content of the document. Rationale: The main element represents the main content of a document.
- Provides clarification for authors on the use of list markup in the nav element. Rationale: Improve author advice and user experience.
- Advises authors to use headings of the appropriate rank for a section's nesting level. Rationale: backwards compatibility and improve user experience.Refer to Use h1 to h6 to identify document structure
- The hgroup element is obsolete. Rationale: Lack of implementations, lack of use cases, promoted markup anti-pattern.
- Provides author advice on marking up Subheadings, subtitles, alternative titles and taglines. Rationale: HTML does not have a dedicated feature for marking up such semantics, so provides author advice on how to do it using current features.
- Requires that the header and footer elements be mapped to ARIA landmark roles dependent on their ancestor elements. Rationale: Match landmark definitions and interoperable implementations.
- Restricts the elements that authors can use ARIA role=presentation on. Rationale: Use of role=presentation on interactive elements has no use cases and can cause issues for AT users.
- Provides normative text and an example for link type license which advises authors to state in text the scope of document license if it does not apply to the whole document. Rationale: Use of CSS styles are inadequate for conveying the scope of a license.
- Includes a detailed text explanation of the th element example and related image. Rationale: The example is complex, and extra detail is required to explain information conveyed visually.
- Discourages use of the title attribute in cases where its content should be available to all/any user
- makes the use of the title attribute for providing image captions non conforming, as in 18 year history it has not been implemented in an interoperable, input device independent manner. Instead it promotes the use of the figure and figcaption elements for the provision of image captions. The figcaption element content is by default available to all and it conveys a caption role to assistive technology. Rationale: improves accessibility and usability.
- Conditionally allows using tables as layout aids (if role="presentation" is provided).
- Provides author advice for marking up breadcrumb navigation as a list instead of a series of links in prose. Rationale Users find the grouping of grouping links helpful.
- Allows usage of person's name as a citation in the cite element.
- Allows attribution of the quote inside the blockquote element, using footer or/and cite element inside it.
- Provides detailed per element web developer information on allowed ARIA attributes. Refer to Using ARIA in HTML
- Encourages developers to provide headings for section and article elements. Rationale refer to Include a heading to identify article and section elements.
- Provides detailed advice and requirements for providing alt texts for images.
HTML/W3C-WHATWG-Differences的更多相关文章
- HTML5 程序设计笔记(一)
HTML5 概述 1.html5 发展史 1993年html首次以因特网草案形式发布. 20世纪90年代,html大幅发展,从2.0版,到3.2版和4.0版.最后到1999年的4.01版. 伴随htm ...
- 好程序员web前端分享HTML基础篇
好程序员web前端分享HTML基础篇,最近遇到很多新手,都会问,如果要学web前端开发,需要学什么?难不难学啊?多久能入门之类的问题?那么今天好程序员就先来给大家分享一下web前端学习路线:HTML基 ...
- html5与css 1. web标准及组成
学习目标 1.本专业介绍.HTML相关概念,HTML发展历史 2.WEB标准,W3C/WHATWG/ECMA相关概念 3.相关软件的应用以及站点的创建 4.HTML基本结构和HTML语法 5.HTML ...
- W3C vs. WHATWG HTML5 Specs – The Differences Documented
A few weeks ago, HTML5 became an official W3C Recommendation. I took advantage of this event to disc ...
- HTML5 Differences from HTML4
Abstract "HTML5 Differences from HTML4" describes the differences of the HTML5 specificati ...
- html5 基本内容 摘自W3C
HTML5 教程(摘录自 W3C School) HTML 5 简介(HTML5 是下一代的 HTML) 什么是 HTML5? HTML5 将成为 HTML.XHTML 以及 HTML DOM 的新标 ...
- W3C 、HTML 、CSS 发展介绍
一.W3C W3C 指万维网联盟(World Wide Web Consortium),创建于1994年10月,由 Tim Berners-Lee (他是html的发明人)创建. W3C开始被创建的目 ...
- IETF和W3C的区别
国际互联网协会ISOC和万维网联盟W3C是互联网领域内两大国际协会组织,ISOC旗下IETF机构与W3C是互联网行业内两大标准组织.不可否认「IETF和W3C都是优秀的组织,它们从事着一种使事情按程序 ...
- IT兄弟连 HTML5教程 HTML5的靠山 RFC、WHATWG是什么WEB的新标准
RFC是什么 RFC文档也称请求注解文档(Requests for Comments,RFC),这是用于发布Internet标准和Internet其他正式出版物的一种网络文件或工作报告,内容和Inte ...
- IT兄弟连 HTML5教程 HTML5的靠山 W3C、IETF是什么
无规矩不成方圆,软件开发当然不能例外.Web开发涉及的厂商和技术非常多,所以必须要有参考的标准,而且需要一系列的标准.Web程序都是通过浏览器来解析执行的,通过页面的展示内容与用户互动,所以Web标准 ...
随机推荐
- android十六进制颜色代码转换为int类型数值
android开发中将十六进制颜色代码转换为int类型数值方法:Color.parseColor("#00CCFF")返回int数值;
- PC机安装Qt以及QT交叉编译环境 分类: OpenCV ZedBoard shell ubuntu Eye_Detection 2014-11-08 18:57 246人阅读 评论(0) 收藏
PC: apt-get install qtcreator Qt Embedded for ZedBoard: 下载qt-everywhere-opensource-src-4.7.3.tar.gz, ...
- otg线是什么,otg线和数据线的区别介绍
OTG是什么? OTG主要应用于各种不同的设备或移动设备间的联接,进行数据交换.USB技术的发展,使得PC和周边设备能够通过简单方式.适度的制造成本将各种数 据传输速度的设备连接在一起.上述我们的应用 ...
- DEPENDENT SUBQUERY” 和 “SUBQUERY”
http://blog.163.com/li_hx/blog/static/183991413201642410122327/ mysql> CREATE TABLE t1 (a INT, b ...
- RPM命令用法详解
RPM 有五种基本的操作方式(不包括创建软件包): 安装, 卸载, 升级, 查询,和验证. 下面我们就来逐一的讲解吧. 一. 安装RPM包 RPM 软件包通常具有类似foo-1.0-1.i386.rp ...
- qt 工具栏和菜单栏
在前面的QMainWindow的基础之上,我们开始着手建造我们的应用程序.虽然现在已经有一个框架,但是,确切地说我们还一行代码没有写呢!下面的工作就不那么简单了!在这一节里面,我们要为我们的框架添加菜 ...
- hadoop自带的writable类型
Hadoop 中,并没有使用Java自带的基本类型类(Integer.Float等),而是使用自己开发的类.Hadoop 自带有很多序列化类型,大致分为以下两种: 实现了WritableCompara ...
- [转] Immutable 详解及 React 中实践
https://zhuanlan.zhihu.com/p/20295971 作者:camsong链接:https://zhuanlan.zhihu.com/p/20295971来源:知乎著作权归作者所 ...
- Eclipse配置使用web.xml
为了防止无良网站的爬虫抓取文章,特此标识,转载请注明文章出处.LaplaceDemon/SJQ. http://www.cnblogs.com/shijiaqi1066/p/3792664.html ...
- java返回参数中几种常见的方法
1.有参数有返回值 public class text_1 { 1)创建add方法 public int add(int i, int j) { int res = i + j; ...