Skip to content

Commit

Permalink
Markdown issues affecting rendered caniuse.html (WICG#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
bathos authored and Alice committed Oct 15, 2019
1 parent 7c7a05b commit e51154e
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions caniuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ Track the implementation status of the AOM in various browsers.
## How to enable AOM

**Chrome**:
*For `AccessibleNode`/`ComputedAccessibleNode`-related features:*
```--enable-blink-features=AccessibilityObjectModel```

*For `AccessibleNode`/`ComputedAccessibleNode`-related features:*<br>
`--enable-blink-features=AccessibilityObjectModel`

*For web platform related features:*
Browse to `chrome://flags`, enable `enable-experimental-web-platform-features`.

**Safari Technology Preview**:
```Develop > Experimental Features > Accessibility Object Model```

`Develop > Experimental Features > Accessibility Object Model`

**Firefox**:
```about:config accessibility.AOM.enabled = true```

`about:config accessibility.AOM.enabled = true`

## Summary

Expand Down Expand Up @@ -137,7 +140,7 @@ customSlider.addEventListener("decrement", function(event) {
*Chrome (out of date syntax, pass `--enable-blink-features=AccessibilityObjectModel`)*:
```
```js
var listitem = new AccessibleNode();
listitem.role = "listitem";
listitem.offsetParent = list.accessibleNode;
Expand All @@ -154,13 +157,14 @@ list.accessibleNode.appendChild(listitem);
*Chrome (speculative syntax, pass `--enable-blink-features=AccessibilityObjectModel`)*:
```
```js
var c = await window.getComputedAccessibleNode(element);
console.log(c.role);
console.log(c.label);
```
*Firefox (out of date syntax)*:
```
```js
console.log(element.accessibleNode.computedRole);
```

0 comments on commit e51154e

Please sign in to comment.