<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>263663</bug_id>
          
          <creation_ts>2023-10-25 09:22:50 -0700</creation_ts>
          <short_desc>Support ariaBrailleLabel and ariaBrailleRoleDescription reflection</short_desc>
          <delta_ts>2024-03-03 21:48:06 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>270387</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nolan Lawson">nlawson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>tyler_w</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1987434</commentid>
    <comment_count>0</comment_count>
      <attachid>468335</attachid>
    <who name="Nolan Lawson">nlawson</who>
    <bug_when>2023-10-25 09:22:50 -0700</bug_when>
    <thetext>Created attachment 468335
Repro HTML

Relies on: https://bugs.webkit.org/show_bug.cgi?id=220719

Repro steps:

1. Go to https://codepen.io/nolanlawson-the-selector/pen/abXOKBO

Expected results:

The attributes `aria-braillelabel` and `aria-brailleroledescription` should reflect with the properties `ariaBrailleLabel` and `ariaBrailleRoleDescription` respectively.

Actual results:

The attributes do not reflect. Minimal repro:

```js
const elm = document.createElement(&apos;div&apos;);

elm.ariaBrailleLabel = &apos;foo&apos;
elm.ariaBrailleRoleDescription = &apos;bar&apos;

console.log(&apos;aria-braillelabel&apos;, elm.getAttribute(&apos;aria-braillelabel&apos;)) // should be &apos;foo&apos;
console.log(&apos;aria-brailleroledescription&apos;, elm.getAttribute(&apos;aria-brailleroledescription&apos;))  // should be &apos;bar&apos;
```

In Safari Technology Preview 179 (Safari 17.0, WebKit 18617.1.8.1), these log `null` rather than `&quot;foo&quot;`/`&quot;bar&quot;` respectively.

ARIA PR: https://github.com/w3c/aria/pull/2057
WPT PR: https://github.com/web-platform-tests/wpt/pull/42751</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1987734</commentid>
    <comment_count>1</comment_count>
    <who name="Nolan Lawson">nlawson</who>
    <bug_when>2023-10-26 08:33:24 -0700</bug_when>
    <thetext>Apologies, the PR link above is wrong. This is the correct PR on the spec: https://github.com/w3c/aria/pull/2039</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989162</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-11-01 09:23:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/117799724&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018328</commentid>
    <comment_count>3</comment_count>
    <who name="Tyler Wilcock">tyler_w</who>
    <bug_when>2024-03-03 21:48:06 -0800</bug_when>
    <thetext>Fixed this one here: https://bugs.webkit.org/show_bug.cgi?id=270387

*** This bug has been marked as a duplicate of bug 270387 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>468335</attachid>
            <date>2023-10-25 09:22:50 -0700</date>
            <delta_ts>2023-10-25 09:22:50 -0700</delta_ts>
            <desc>Repro HTML</desc>
            <filename>repro.html</filename>
            <type>text/html</type>
            <size>366</size>
            <attacher name="Nolan Lawson">nlawson</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxodG1sPgo8c2NyaXB0Pgpjb25zdCBlbG0gPSBkb2N1bWVudC5jcmVh
dGVFbGVtZW50KCdkaXYnKTsKCmVsbS5hcmlhQnJhaWxsZUxhYmVsID0gJ2ZvbycKZWxtLmFyaWFC
cmFpbGxlUm9sZURlc2NyaXB0aW9uID0gJ2JhcicKCmNvbnNvbGUubG9nKCdhcmlhLWJyYWlsbGVs
YWJlbCcsIGVsbS5nZXRBdHRyaWJ1dGUoJ2FyaWEtYnJhaWxsZWxhYmVsJykpIC8vIHNob3VsZCBi
ZSAnZm9vJwpjb25zb2xlLmxvZygnYXJpYS1icmFpbGxlcm9sZWRlc2NyaXB0aW9uJywgZWxtLmdl
dEF0dHJpYnV0ZSgnYXJpYS1icmFpbGxlcm9sZWRlc2NyaXB0aW9uJykpICAvLyBzaG91bGQgYmUg
J2JhcicKPC9zY3JpcHQ+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>