From 457935a426fb7c65fae40454b6e4f4df0677e59d Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Wed, 25 Sep 2024 16:03:59 +0200 Subject: [PATCH] main: work in progress [might break] --- doc/RFC_XR_Fragments.html | 3 ++- doc/RFC_XR_Fragments.md | 3 ++- doc/RFC_XR_Fragments.txt | 4 ++-- doc/RFC_XR_Fragments.xml | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/RFC_XR_Fragments.html b/doc/RFC_XR_Fragments.html index f7d7af9..68fedbe 100644 --- a/doc/RFC_XR_Fragments.html +++ b/doc/RFC_XR_Fragments.html @@ -300,7 +300,7 @@ This can be done via a JSON { "#": "#-penguin", - "aria-description": "this scene shows an chair and a hidden penguin", + "aria-description": "description of scene", "room/chair": { href: "#penguin" } @@ -318,6 +318,7 @@ This can be done via a JSON
 scene.userData['#'] = "#chair&penguin"
+ scene.userData['aria-description'] = "description of scene"
  scene.getObjectByName("room").getObjectByName("chair").userData.href = "#penguin"
 
  // now the XR Fragments parser can process the XR Fragments userData 'extras' in the scene 
diff --git a/doc/RFC_XR_Fragments.md b/doc/RFC_XR_Fragments.md
index 1acbacd..71809cd 100644
--- a/doc/RFC_XR_Fragments.md
+++ b/doc/RFC_XR_Fragments.md
@@ -230,7 +230,7 @@ This can be done via a JSON [sidecar-file](https://en.wikipedia.org/wiki/Sidecar
 ```json 
 {
   "#":                "#-penguin",
-  "aria-description": "this scene shows an chair and a hidden penguin",
+  "aria-description": "description of scene",
   "room/chair": {
     href: "#penguin"
   }
@@ -245,6 +245,7 @@ So when loading `experience.glb` the existence of `experience.json` is detected,
 
 ```javascript
  scene.userData['#'] = "#chair&penguin"
+ scene.userData['aria-description'] = "description of scene"
  scene.getObjectByName("room").getObjectByName("chair").userData.href = "#penguin"
 
  // now the XR Fragments parser can process the XR Fragments userData 'extras' in the scene 
diff --git a/doc/RFC_XR_Fragments.txt b/doc/RFC_XR_Fragments.txt
index bc88403..f476ef1 100644
--- a/doc/RFC_XR_Fragments.txt
+++ b/doc/RFC_XR_Fragments.txt
@@ -376,7 +376,7 @@ Internet-Draft                XR Fragments                September 2024
 
    {
      "#":                "#-penguin",
-     "aria-description": "this scene shows an chair and a hidden penguin",
+     "aria-description": "description of scene",
      "room/chair": {
        href: "#penguin"
      }
@@ -400,6 +400,7 @@ Internet-Draft                XR Fragments                September 2024
    |  In THREE.js-code this would boil down to:
 
     scene.userData['#'] = "#chair&penguin"
+    scene.userData['aria-description'] = "description of scene"
     scene.getObjectByName("room").getObjectByName("chair").userData.href = "#penguin"
 
     // now the XR Fragments parser can process the XR Fragments userData 'extras' in the scene
@@ -444,7 +445,6 @@ Internet-Draft                XR Fragments                September 2024
 
 
 
-
 van Kammen                Expires 29 March 2025                 [Page 8]
 
 Internet-Draft                XR Fragments                September 2024
diff --git a/doc/RFC_XR_Fragments.xml b/doc/RFC_XR_Fragments.xml
index 9912987..ab6a58f 100644
--- a/doc/RFC_XR_Fragments.xml
+++ b/doc/RFC_XR_Fragments.xml
@@ -221,7 +221,7 @@ This can be done via a JSON In THREE.js-code this would boil down to: