ナビ

html5から見送りになりそうなタグ(2012年12月17日付け)

wrote :

html5をはじめからウォッチしてきたから、この辺りは確実に把握しておきたい。
下記は仕様から削除されるリスクがあるものたち。
動向が明確になるまで、個人的に、html5でコーディングする際、下記は使用しないことにする。

  • <hgroup>
  • <command> and commands API
  • <menu> and context menus feature ("contextmenu" attribute)
  • Application Cache
  • <dialog>
  • <details> and <summary>
  • <input type=color>
  • <input type=datetime>, <input type=month>, <input type=week>, <input type=time>, <input type=datetime-local>
  • <output>
  • <style scoped>
  • <iframe seamless>
  • Custom scheme and content handlers (registerProtocolHandler and registerContentHandler)
  • Outline algorithm
  • UA mechanism for navigating to resources linked to in cite="", see Bug 18915 for more.

個人的トピックス

<hgroup>
見出しとサブタイトルの関連性を強めるタグとしては「いいッ!」と思ってたけど、見出しタグのグルーピングとかちょっと意味不明だった。たとえば、
<hgroup>
<h1>見出しタイトル</h1>
<p>サブタイトル</p>
</hgroup>
という関連付けだけだったらよかったのにな。。ま、そもそも<hgroup>の使用はやめときます。
<menu>
html5で見直されたのかと思って多用し始めちゃってました・・・。
<dialog>
会話系のコンテンツに使いたいなーと思ってたから残念。
<input type=xxx>
日付周りのtype属性が増えてブラウザ対応を期待してただけに残念。iOSなどブラウザ実装されてたりするけどあえて控えたほうがよいかも。。
Outline algorithm
これは衝撃!html5の特徴の一つだったはず。というか今後の検索アルゴリズムにも影響を与えてほしいと期待してただけに残念。Outline algorithmがチューニングされ続けるとそのたびにコンテンツの最適化をしなくてはならないことを考えると、今後の動向があるまではアウトラインを意識したコーディングは控えたほうがよさそうだ。