Skip to content

Commit

Permalink
fix(a11y): various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fupete authored Feb 27, 2025
1 parent 940cd02 commit f7370a0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/feedback/components/form-no/FormNo.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function FormNo({ onResult, state }) {

<div className="mt-5">
<button
type="button"
type="submit"
className="btn btn-primary"
disabled={
(!who && !from && !details) || state === FeedbackState.Loading
Expand Down
4 changes: 2 additions & 2 deletions src/components/feedback/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import FormNo from "./components/form-no/FormNo";
const BTN_INTRO = {
label: "Invia",
btnStyle: "primary",
type: "button",
type: "submit",
};

const ICON_CLOSE = {
Expand Down Expand Up @@ -148,7 +148,7 @@ function Feedback() {
</fieldset>

<button
type="button"
type="submit"
className="btn btn-primary mt-4"
disabled={!isChecked || feedbackState === FeedbackState.Loading}
onClick={onSend}
Expand Down
1 change: 1 addition & 0 deletions src/components/label-textarea/label-text-area.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function LabelTextArea(props) {
id={id}
className="form-control"
onChange={handleChange}
autoComplete="off"
{...opts}
>
{message}
Expand Down
2 changes: 1 addition & 1 deletion src/data/content/ricerca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ components:
subtitle: "Un vasto catalogo di conoscenza e strumenti per creare i servizi digitali della Pubblica Amministrazione."

searchMain:
isResultsPage: true
title: "Ricerca"

0 comments on commit f7370a0

Please sign in to comment.