Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FF122 Relnote CSS -moz-user-focus removed #31970

Merged
merged 3 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -45,6 +45,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}}
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved

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
Loading