Ryobi 12v battery

I have a Ryobi 12v drill #HP1202M. The battery is #1311148. I have seen Ryobi replacement batteries #181918 on the web. Is this a legitimate replacement for my drill?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.