File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -499,17 +499,15 @@ the User Agent must run the steps described below:
499
499
if <var> option</var> is present and its value is equal to <code> 'all' </code> ,
500
500
or <code> true</code> otherwise.
501
501
2. Let <var> areas</var> be the result of <a>finding focusable areas</a> within the element with <var> visibleOnly</var> as argument.
502
- 3. Let <var> anchors</var> be a <a for=list>clone</a> of <var> areas</var> ,
503
- with every <a>focusable area</a> which is not itself a <a>Node</a> replaced with its <a>DOM anchor</a> .
504
- 4. Return <var> anchors</var>
502
+ 4. Return <var> areas</var>
505
503
506
504
</div>
507
505
508
506
<div class=example id=focusAreas-visible>
509
507
The following code shows how to get all the visible focusable elements in the current page using {{Element/focusableAreas()}} .
510
508
If the method finds a <a>spatial navigation container</a> , it recursively finds focusable areas inside it.
511
- However, as the {{FocusableAreasOption/mode}} attribute of this method is set to <code> visible</code> ,
512
- the focusable element which isn’ t inside the <a>scrollport</a> is excluded from the result.
509
+ Because the value of the {{FocusableAreasOption/mode}} attribute in this method is <code> visible</code> ,
510
+ the focusable elements which aren' t inside the <a>scrollport</a> are excluded from the result.
513
511
514
512
<pre><code highlight=markup>
515
513
<body>
You can’t perform that action at this time.
0 commit comments