Bug 263663

Summary: Support ariaBrailleLabel and ariaBrailleRoleDescription reflection
Product: WebKit Reporter: Nolan Lawson <nlawson>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: tyler_w, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Repro HTML none

Description Nolan Lawson 2023-10-25 09:22:50 PDT
Created attachment 468335 [details]
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('div');

elm.ariaBrailleLabel = 'foo'
elm.ariaBrailleRoleDescription = 'bar'

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

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

ARIA PR: https://github.com/w3c/aria/pull/2057
WPT PR: https://github.com/web-platform-tests/wpt/pull/42751
Comment 1 Nolan Lawson 2023-10-26 08:33:24 PDT
Apologies, the PR link above is wrong. This is the correct PR on the spec: https://github.com/w3c/aria/pull/2039
Comment 2 Radar WebKit Bug Importer 2023-11-01 09:23:13 PDT
<rdar://problem/117799724>
Comment 3 Tyler Wilcock 2024-03-03 21:48:06 PST
Fixed this one here: https://bugs.webkit.org/show_bug.cgi?id=270387

*** This bug has been marked as a duplicate of bug 270387 ***