Deductions & credits

I found the right section with the help of this

https://ttlc.intuit.com/turbotax-support/en-us/help-article/retirement-benefits/enter-traditional-ro...

However a new question. The form only mentions contributions for 2023; that's all it seems to offer. Was it a mistake to have put money into a Roth IRA for 2022? She's never put money into a Roth IRA before. She put the money into the Roth accounts for both years in Feb 2023. I didn't know this and didn't include the year 2022 deposit in our 2022 tax filing. Is that a mistake/not a mistake; and if not a mistake can I enter it into the 2023 filing somehow, or do I even need to?