Slabs (including cargo area 'slabs') will block lighting like full blocks. Attempting to make a hallway using slabs with their open sides facing one another, for instance, will create a permanent dark area even if the floor and ceiling are made of light blocks.