Obviously Yahoo does have a fraction of the traffic of Google in most parts of the world, but there is still traffic there.
I generally find that getting good rankings in Yahoo involves many of the same factors as with Google: content, inbound links, on-page SEO.