Skip to content

Commit

Permalink
FF122 Relnote CSS -moz-user-focus removed (#31970)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Feb 14, 2024
1 parent 44c93b0 commit 6f56b2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions files/en-us/mozilla/firefox/releases/122/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ This article provides information about the changes in Firefox 122 that affect d

- The {{domxref("HTMLSelectElement.showPicker()")}} method is now supported, allowing the browser picker for a {{HTMLElement("select")}} element to be programmatically launched when triggered by user interaction ([Firefox bug 1865207](https://bugzil.la/1865207)).

#### Removals

- Removed support for the CSS [`-moz-user-focus`](/en-US/docs/Web/CSS/-moz-user-focus) property ([Firefox bug 1871745](https://bugzil.la/1871745) and [Firefox bug 1868552](https://bugzil.la/1868552)).

### WebDriver conformance (WebDriver BiDi, Marionette)

#### General
Expand Down
10 changes: 7 additions & 3 deletions files/en-us/web/css/-moz-user-focus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@ title: "-moz-user-focus"
slug: Web/CSS/-moz-user-focus
page-type: css-property
status:
- deprecated
- non-standard
browser-compat: css.properties.-moz-user-focus
---

{{CSSRef}} {{Non-standard_header}}
{{CSSRef}} {{deprecated_header}}

The **`-moz-user-focus`** [CSS](/en-US/docs/Web/CSS) property is used to indicate whether an element can have the focus.

By setting its value to `ignore`, you can disable focusing the element, which means that the user will not be able to activate the element. The element will be skipped in the tab sequence.
By setting its value to `ignore`, you can disable focusing the element, which means that the user will not be able to activate the element, and the element will be skipped in the tab sequence.
The default is `none`, which disables focussing on the element and removes focus on other elements if there is an attempt to select the element.

## Syntax

```css
/* Keyword values */
-moz-user-focus: none;
-moz-user-focus: normal;
-moz-user-focus: ignore;

Expand All @@ -33,7 +36,8 @@ By setting its value to `ignore`, you can disable focusing the element, which me
- `normal`
- : The element can accept keyboard focus.
- `none`
- : ?
- : The element does not accept keyboard focus.
Attempting to select the element removes focus from any other element.

## Formal definition

Expand Down

0 comments on commit 6f56b2d

Please sign in to comment.