Some state allow you to get special licenses for things like short barreled rifles, silencers, and full autos.
Actually, the BATF has provisions for licensing short barreled shotguns if legal in your state of residence.
the 26" figure is overall length, but the barrel still has to have a min 18" length in order to be legal without special license (Research NFA for further info).