MORGAN HILL, Calif. – Ruben Morales, a blind 59-year-old retired engineer who lives in this Silicon Valley city, has used a specialized screen-reading program for years to write and run spreadsheets on his desktop computer.

But recently, he figuratively cut the cord to his desktop and joined the mobile revolution. Morales was visiting a Veterans Affairs blind rehabilitation center, learning how to use an iPhone's features for vision-impaired people.

"It's pretty amazing." Morales said, demonstrating how he can call up a song and play it with a few taps. "Whatever I can do on the computer, I can basically do it on the iPhone. It has the same capability."

The smartphone, a gadget designed for the sighted, has turned out to be a godsend for the blind and visually impaired, making them more independent than ever before.

With VoiceOver, the iPhone's built-in gesture-based app that reads text on a touch-screen aloud, or Google Android's TalkBack, blind users can access anything on their phones with a touch or double tap.

"It's a learning curve, but you can learn to do every single thing on an iPhone that anyone else can do," said Lee Huffman, editor of AccessWorld, published by the American Foundation for the Blind. "These devices are opening up a whole new world."

It didn't look like it would turn out that way at first.

"The blind community started getting really panicky" when smartphones and later tablets took off following the iPhone's debut in 2007, researcher Joshua Miele, associate director of Smith-Kettlewell Eye Research Institute in San Francisco, recalled. "Touch-screens were a real concern."

But in 2009, Apple included VoiceOver in its mobile operating system, and followed up with the personal assistant Siri in 2011, launching a new world of mobility for the visually impaired. Google added TalkBack, a screen reader, to its Android operating system in 2009 and Google Now, a personal assistant, in 2012. Microsoft mobile has similar features.

"It's made a huge difference, productivity-wise," said Jennison Asuncion, accessibility leader at LinkedIn, who is blind. "I use my mobile phone probably even more than a lot of people."

Erin Lauridsen, 32, a trainer at the Independent Living Resource Center in San Francisco, has been blind since birth and grew up using expensive, clunky, single-purpose devices for doing course work in school. "When the iPhone 3GS came out with VoiceOver built in it was a huge game-changer for me and a lot of other people," she said.

She uses an app called BlindSquare for navigation, Money Reader to identify currency denominations and Voice Dream Reader to assemble audio play lists of documents. She also uses Uber and a lot of other popular apps.

"I'm on an equal footing with what everyone else does — the Yelping, Facebooking and Twittering," she said.

Visually impaired people want to use their mobile phones like anyone else, said Astrid Weber, who researches user experience at Google.

"Mobility is really important for them," she said.

Google Now — the Android personal assistant — is popular with vision-impaired users, said Eve Andersson, manager of Google's accessibility engineering. Her vision-impaired parents use it all the time, she said. "They ask their phones questions, ask it to call me, ask it for directions and create reminders. They love being able to do that with their voice."

For years there have been screen readers for desktop computers. But while VoiceOver and TalkBack broke the tether to the desktop, third-party apps still have to be made accessible to the disabled.

There's a legal issue, too. The Americans With Disabilities Act requires websites and mobile applications to be accessible, said disability rights lawyer Lainey Feingold, although regulations are still being worked on by the Department of Justice.

Google announced a $20 million grant for technology innovators in the nonprofit community who work on technology to make people with disabilities more independent.

Adobe, Dropbox, Linked­In, Yahoo, Facebook, Twitter, Intuit, Microsoft and others have asked universities to train computer students in accessibility software design and are requiring new hires to demonstrate some familiarity with it.

Something as simple as labeling buttons so that VoiceOver can read them aloud can make a big difference, developers say.

Ari Weinstein, co-founder of the San Francisco start-up DeskConnect, said they spent "maybe a week, implementing really great accessibility features making it compatible with Apple's VoiceOver." The product won an Apple 2015 Design Award for its accessibility features.