The SEO community has long known that URL fragments such as
http://www.example.com/page.html#something cannot be properly crawled by Google. As such Googlebot will only see page.html, regardless of what content may be dynamically displayed via Ajax as part of the #something fragment. This was confirmed by Google’s John Mueller via a Twitter post early this morning:
@ryansiddle No. I'd recommend moving away from using them for content in general too.
— John ?.o(???)o.? (@JohnMu) February 22, 2017
So for the future – you really shouldn’t be building websites that rely on URL fragments. Curious what else you can and can’t do? Check out more Google Confirmations here.