Stainless steel works with chlorine.
But it’s too heavy. I’ve had pools and been around them when I was younger. A good divider for the shallow end and deep end of an in ground pool is a chain made of hollow, light weight plastic held up with floats. And for the ladders, whether it’s an in ground or back yard pool the ladders are always aluminum so nothing rusts.