| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class InputField extends AbstractField |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Identifies the element (or elements) that describes the object. |
||
| 11 | * |
||
| 12 | * @link https://w3c.github.io/aria/#aria-describedby |
||
| 13 | */ |
||
| 14 | public function ariaDescribedBy(string $value): static |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Defines a string value that labels the current element. |
||
| 23 | * |
||
| 24 | * @link https://w3c.github.io/aria/#aria-label |
||
| 25 | */ |
||
| 26 | public function ariaLabel(string $value): static |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Specifies the form element the tag input element belongs to. The value of this attribute must be the ID |
||
| 35 | * attribute of a form element in the same document. |
||
| 36 | * |
||
| 37 | * @link https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fae-form |
||
| 38 | */ |
||
| 39 | public function form(string $value): static |
||
| 46 |