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

Web/API/HTMLFormElement/autocomplete を新規翻訳 #24229

Merged
Merged
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
37 changes: 37 additions & 0 deletions files/ja/web/api/htmlformelement/autocomplete/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: "HTMLFormElement: autocomplete プロパティ"
short-title: autocomplete
slug: Web/API/HTMLFormElement/autocomplete
l10n:
sourceCommit: 4c81451d326b3bea82a02d912b9320273ad8572d
---

{{ APIRef("HTML DOM") }}

**`autocomplete`** は {{DOMxRef("HTMLFormElement")}} インターフェイスのプロパティで、ブラウザーによってこのフォームのコントロールの値が自動的に補完できるかどうかを示します。これは、{{htmlelement("form")}} 要素の [`autocomplete`](/ja/docs/Web/HTML/Attributes/autocomplete) 属性を反映します。

## 値

文字列です。 `"off"` の値は明示的に `"off"` が設定された場合で、それ以外は常に `"on"` です。

## 例

```js
const formElement = document.getElementById("name");
console.log(formElement.autocomplete);
```

## 仕様書

{{Specifications}}

## ブラウザーの互換性

{{Compat}}

## 関連情報

- {{HTMLElement("form")}}
- HTML の [`autocomplete`](/ja/docs/Web/HTML/Attributes/autocomplete) 属性
- ARIA の [`aria-autocomplete`](/ja/docs/Web/Accessibility/ARIA/Attributes/aria-autocomplete) 属性
- [自動補完の無効化](/ja/docs/Web/Security/Practical_implementation_guides/Turning_off_form_autocompletion)