{"json_modified": "2016-03-28T07:48:10.024265", "uuid": "8d864b90-a167-4980-9e28-ce5736556553", "title": "Using the aria-invalid attribute", "url": "/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-invalid_attribute", "tags": ["Attribute", "Role", "CodingScripting", "NeedsContent", "alert", "ARIA", "Accessibility", "agent", "HTML", "JavaScript", "user", "userAgent"], "translations": [{"uuid": "a79e3c2b-acd0-4cda-91f0-7f5455927e38", "title": "Utiliser l'attribut aria-invalid", "url": "/fr/docs/Accessibilit%C3%A9/ARIA/Techniques_ARIA/Utiliser_l_attribut_aria-invalid", "tags": ["ARIA", "Accessibilit\u00e9", "Attribut"], "summary": "L\u2019attribut aria-invalid
est utilis\u00e9 pour indiquer que la valeur saisie dans un champ de saisie n\u2019est pas conforme au format attendu par l\u2019application. Cela comprend les formats tels que les adresses \u00e9lectroniques ou les num\u00e9ros de t\u00e9l\u00e9phone. aria-invalid
peut \u00e9galement \u00eatre utilis\u00e9 pour indiquer qu\u2019un champ obligatoire n\u2019a pas \u00e9t\u00e9 rempli. L\u2019attribut devrait \u00eatre programmatiquement d\u00e9fini comme \u00e9tant le r\u00e9sultat du processus de validation.", "localization_tags": [], "locale": "fr", "last_edit": "2014-06-30T06:56:39", "review_tags": ["technical", "editorial"]}], "modified": "2015-11-30T13:30:59", "label": "Using the aria-invalid attribute", "localization_tags": [], "locale": "en-US", "id": 1517, "last_edit": "2015-11-30T13:30:58", "summary": "The aria-invalid
attribute is used to indicate that the value entered into an input field does not conform to the format expected by the application.This may include formats such as email addresses or telephone numbers. aria-invalid
can also be used to indicate that a required field has not been filled in.The attribute should be programmatically set as a result of a validation process.", "sections": [{"id": "Description", "title": "Description"}, {"id": "Values", "title": "Values"}, {"id": "Possible_effects_on_user_agents_and_assistive_technology", "title": "Possible effects on user agents and assistive technology\u00a0"}, {"id": "Examples", "title": "Examples"}, {"id": "Example_1_Simple_form_validation", "title": "Example 1: Simple form validation"}, {"id": "Working_Examples", "title": "Working Examples:"}, {"id": "Notes", "title": "Notes\u00a0"}, {"id": "Used_in_ARIA_roles", "title": "Used in ARIA roles"}, {"id": "Related_ARIA_techniques", "title": "Related ARIA techniques\u00a0"}, {"id": "Compatibility", "title": "Compatibility"}, {"id": "Additional_resources", "title": "Additional resources"}], "slug": "Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-invalid_attribute", "review_tags": []}