Bug 263663 - Support ariaBrailleLabel and ariaBrailleRoleDescription reflection
Summary: Support ariaBrailleLabel and ariaBrailleRoleDescription reflection
Status: RESOLVED DUPLICATE of bug 270387
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-25 09:22 PDT by Nolan Lawson
Modified: 2024-03-03 21:48 PST (History)
2 users (show)

See Also:


Attachments
Repro HTML (366 bytes, text/html)
2023-10-25 09:22 PDT, Nolan Lawson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***