<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toranoana-lab</author_name>
  <author_url>https://blog.hatena.ne.jp/toranoana-lab/</author_url>
  <blog_title>虎の穴ラボ技術ブログ</blog_title>
  <blog_url>https://toranoana-lab.hatenablog.com/</blog_url>
  <categories>
    <anon>React</anon>
    <anon>技術エントリ</anon>
  </categories>
  <description>こんにちは、虎の穴ラボの後藤です。 モーダルダイアログはユーザーに重要な情報を提供したり、決定を求めたりする際に適した UI です。 m3.material.io 重要な UI である一方で、フォーカス制御やキーボード操作、スタイリング、背景要素の非活性など考慮すべき点は多く実装も複雑になりがちです。 そこでこの記事では、HTMLネイティブのdialog要素を用いたシンプルなモーダルダイアログ実装を紹介します。 また、実際に試す中で気づいた実装のポイントについても紹介します。 dialog要素の基本 モーダルを開く/閉じる dialog要素のメリット ブラウザのサポート状況 dialog 要素…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoranoana-lab.hatenablog.com%2Fentry%2F2024%2F03%2F15%2F170000&quot; title=&quot;dialog 要素 + React でモーダルダイアログ実装するときの実装ポイント3選 - 虎の穴ラボ技術ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/toranoana-lab/20240314/20240314203432.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-15 17:00:00</published>
  <title>dialog 要素 + React でモーダルダイアログ実装するときの実装ポイント3選</title>
  <type>rich</type>
  <url>https://toranoana-lab.hatenablog.com/entry/2024/03/15/170000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
