Today, most countries have building and zoning codes that specify distances between houses and fire safety measures in construction. In addition, most communities have fire departments for active protection. All citizens will benefit from fire protection whether they pay for the costs of keeping a fire brigade and comply to the construction codes or not - as long as everybody else pays and complies. Thus, the only way to bring about fire protection is to make the codes compulsory and to levy taxes to finance the fire department. The market, if left to its own devices, would not be able to produce fire protection.
Accessibility is a related public good.
Accessibility measures in a building will benefit all users. Old persons will have less accidents in staircases, if they are provided with the alternative of using elevators. Similarly, accessibility features will make a structure usable by disabled persons or reduce risks for them. Since buildings typically represent long term investments, accessibility and its benefits will accrue to several generations of users. There is no market mechanism by which those who enjoy the features can be made to pay.