"avoid accidentally" is a correct and usable phrase in written English. You can use it when you are talking about someone or something unintentionally doing something. For example, "I wanted to avoid accidentally bumping into him so I took a different route."
The procedure makes it relatively easy for an inventor to avoid accidentally duplicating an existing patent.
How can you avoid accidentally stumbling across, say, actual facts or rational discussion?
But they generally agree that Jews should not visit the Temple Mount, to avoid accidentally stepping on sacred ground.
Solo diner blows out table candle to avoid accidentally setting his newspaper on fire, only to have it relit repeatedly by busboy.
Although the strategy seeks to avoid accidentally empowering "thuggish elements of local security forces," given the historical context it would be shocking if that did not happen.
She was told to hide from her husband all signs that labor was painful, to avoid accidentally making him feel guilty.
As a result, risk-averse foreign drug companies and international banks, eager to avoid accidentally triggering penalties, have acted with caution.
"Jains believe you can't kill anything, not even insects, so they wear these to avoid accidentally breathing them in," says Suraj.
So how does Facebook avoid accidentally showing more fake news in Related Articles?
The button is also recessed and positioned to avoid accidentally responding to pressure.
The new algorithmic review systems will have to be closely managed, though, to avoid accidentally censoring legitimate ads.
Being a terminologist, I care about word choice. Ludwig simply helps me pick the best words for any translation. Five stars!
Maria Pia Montoro
Terminologist and Q/A Analyst @ Translation Centre for the Bodies of the European Union