The D.C. City Council enacted legislation last night requiring that new and extensively remodeled buildings in the city be fully accessible to handicapped persons.

The measure, approved by an unrecorded voice vote, also requires that specified numbers of units expecially equipped for the handicapped be provided in the future in hotels, motels and apartment complexes. It provides standards for such facilities as telephones, water fountains, parking garages and restrooms.

Its adoption followed more than a year of consideration since the bill was introduced by Hilda Mason (Statehood-At Large) with cosponsorship by six other members.

The measure will become law if it is approved by Mayor Marion Barry and is allowed by Congress to go into effect at the end of a 30-day review period.

The bill applies to all nonfederal public buildings, schools, museums, retail stores, restaurants and multistory commerical buildings in which more than 40 people work. The federal government already has similar requirements for its buildings.

Single-family and two-family dwellings, foreign chanceries and certain historic landmarks are exempted.

The council also approved, by a rollcall vote of 9 to 3, emergency legislation raising the cost of ballot counts requested by candidates or others who want to challenge an election result.

If approved by the mayor, the measure would go into effect before the May 6 presidential primary election.

At present, someone seeking a recount must deposit $20 for each precinct involved, a sum of the Board of Elections and Ethics said is insufficient to pay the cost of the recount. Last night's vote raised the sum to $50. If the recount changes the earlier result, the money would be returned.

Voting against the bill were Mason, Betty Ann Kane (D-At Large) and Wilhelmina J. Rolark (D-Ward 8).David A. Clarke (D-Ward 1) abstained.

The council also enacted a bill revamping the procedures for probating wills.