Skip to content

Commit 698fd53

Browse files
committed
chore: Clarify comments.
1 parent 5ed8bdc commit 698fd53

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/focus_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export class FocusManager {
426426
* can be active at any given time (attempting to activate more than one
427427
* simultaneously will result in an error being thrown).
428428
*
429-
* This method does not scroll the ephemerally focused node into view.
429+
* This method does not scroll the ephemerally focused element into view.
430430
*/
431431
takeEphemeralFocus(
432432
focusableElement: HTMLElement | SVGElement,

core/interfaces/i_focusable_node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export interface IFocusableNode {
6060
* - Creating or removing DOM elements (including via the renderer or drawer).
6161
* - Affecting focus via DOM focus() calls or the FocusManager.
6262
*
63-
* Implementations should consider scrolling themselves into view here; that
64-
* is not handled by the focus manager.
63+
* Implementations may consider scrolling themselves into view here; that is
64+
* not handled by the focus manager.
6565
*/
6666
onNodeFocus(): void;
6767

0 commit comments

Comments
 (0)